<?php

namespace control;

// 定义权限-中文简体
$powerAll = [];
/**
 * 权限划分
 * 层级 - 一级（如个人中心） -
 *              二级（如个人信息）-
 *                     三级（如个人档案）
 */
$powerAll["人力资源"] = [
    "组织架构" => [
        '业务单据' => [
            "department"    => [
                "name" => "部门",
                "see"  => "查询",
                "edit" => "增改删",
            ],
            "job"           => [
                "name"   => "职位",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "import" => "excel 导入",
                "export" => "excel 导出",
            ],
            "staffProfiles" => [
                "name"          => "员工档案",
                "see"           => "查询",
                "edit"          => "编辑",
                "del"           => "删除",
                "audit"         => "复核",
                "import"        => "excel 导入",
                "export"        => "excel 导出",
                "interviewEdit" => "新增评价记录",
                "interviewDel"  => "删除评价记录",
            ],
        ]
    ],
    "招聘"   => [
        '业务单据' => [
            "recruitment"     => [
                "name"   => "招聘需求",
                "see"    => "查询自己",
                "seeAll" => "查询全部",
                "edit"   => "编辑",
                "del"    => "删除",
            ],
            "recruitmentPlan" => [
                "name"   => "招聘计划",
                "see"    => "查询自己",
                "seeAll" => "查询全部",
                "edit"   => "编辑",
                "del"    => "删除",
            ],
            "talentPool"      => [
                "name"          => "人才库",
                "see"           => "查询",
                "edit"          => "编辑",
                "del"           => "删除",
                "interviewEdit" => "新增面试记录",
                "interviewDel"  => "删除面试记录",
                "newFollow"     => "新增跟进记录",
                "delFollow"     => "删除跟进记录",
                "import"        => "excel 导入",
                "export"        => "excel 导出",
            ],
        ]

    ],
    "劳动关系" => [
        '业务单据' => [
            "staffEntryRecord" => [
                "name" => "入职记录",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "staffFormal"      => [
                "name"   => "转正记录",
                "see"    => "查询自己",
                "seeAll" => "查询全部",
                "edit"   => "编辑",
                "del"    => "删除",
            ],
            "jobApply"         => [
                "name"   => "调岗调薪记录",
                "see"    => "查询自己",
                "seeAll" => "查询全部",
                "edit"   => "编辑",
                "del"    => "删除",
            ],
            "staffInjury"      => [
                "name"   => "工伤管理",
                "see"    => "查询自己",
                "seeAll" => "查询全部",
                "edit"   => "编辑",
                "del"    => "删除",
            ],
            "staffStayRecord"  => [
                "name"    => "停薪留职",
                "see"     => "查询自己",
                "seeAll"  => "查询全部",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认停薪",
            ],
            "staffQuitRecord"  => [
                "name"    => "离职记录",
                "see"     => "查询自己",
                "seeAll"  => "查询全部",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认离职",
            ],
            "workContract"     => [
                "name" => "劳动合同",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
        ],
        '社会保险' => [
            "workInsure"          => [
                "name" => "待参保",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "workInsureSigning"   => [
                "name" => "参保中",
                "see"  => "查询",
                "cla"  => "workInsure",
                "fun"  => "signing",
            ],
            "workInsureEffecting" => [
                "name" => "待停保",
                "see"  => "查询",
                "cla"  => "workInsure",
                "fun"  => "effecting",
            ],
            "workInsureEnding"    => [
                "name" => "已停保",
                "see"  => "查询",
                "cla"  => "workInsure",
                "fun"  => "ending",
            ],
        ]
    ],
    "培训"   => [
        '业务单据' => [
            "trainingPlan"   => [
                "name"   => "培训计划",
                "see"    => "查询自己",
                "seeAll" => "查询全部",
                "edit"   => "编辑",
                "del"    => "删除",
                "import" => "excel 导入",
                "export" => "excel 导出",
            ],
            "trainingRecord" => [
                "name" => "培训记录",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "regulation"     => [
                "name"   => "规章制度",
                "see"    => "查询",
                "seeAll" => "查询全部",
            ],
        ]
    ],
    "考试"   => [
        '题库'   => [
            "topicLibrary"    => [
                "name"   => "题库管理",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                'import' => "excel 导入",
                'export' => "excel 导出"
            ],
            "topicManagement" => [
                "name" => "试题管理",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
        ],
        '试卷管理' => [
            "paperManagement" => [
                "name"   => "试卷",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "cancel" => "撤回",
            ],
            "examRecord"      => [
                "name"   => "考试记录",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "export" => "excel 导出",
            ],
        ]

    ],
    "绩效"   => [
        '业务单据' => [
            "performanceRule"  => [
                "name" => "绩效规则",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "performanceAim"   => [
                "name"   => "绩效目标",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "import" => "excel 导入",
                "export" => "excel 导出",
            ],
            "performanceScore" => [
                "name"   => "绩效评分",
                "see"    => "查询自己",
                "seeAll" => "查询全部",
                "edit"   => "编辑",
                "del"    => "删除",
            ],
        ]
    ],
    "工作汇报" => [
        '业务单据' => [
            "dayRecord"   => [
                "name" => "日报记录",
                "see"  => "查询",
            ],
            "weekRecord"  => [
                "name" => "周报记录",
                "see"  => "查询",
            ],
            "monthRecord" => [
                "name" => "月报记录",
                "see"  => "查询",
            ],
        ]

    ],
    "考勤"   => [
        '工作日设置' => [
            "workDay" => [
                "name" => "工作日设置",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "holiday" => [
                "name" => "节假日设置",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
        ],
        '考勤规则'  => [
            "clockRule" => [
                "name" => "考勤规则",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "scheduler" => [
                "name"   => "排班表",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "export" => "excel 导出",
            ],
        ],
        '考勤记录'  => [
            "workSignAdd"     => [
                "name"   => "补卡记录",
                "see"    => "查询自己",
                "seeAll" => "查询全部",
                "edit"   => "编辑",
                "del"    => "删除",
            ],
            "work"            => [
                "name"   => "请假记录",
                "see"    => "查询自己",
                "seeAll" => "查询全部",
                "edit"   => "编辑",
                "del"    => "删除",
            ],
            "workOut"         => [
                "name"   => "外出记录",
                "see"    => "查询自己",
                "seeAll" => "查询全部",
                "edit"   => "编辑",
                "del"    => "删除",
            ],
            "bussinessTrip"   => [
                "name"   => "出差记录",
                "see"    => "查询自己",
                "seeAll" => "查询全部",
                "edit"   => "编辑",
                "del"    => "删除",
            ],
            "workAdd"         => [
                "name"   => "加班记录",
                "see"    => "查询自己",
                "seeAll" => "查询全部",
                "edit"   => "编辑",
                "del"    => "删除",
                "export" => "excel 导出",
            ],
            "clockStatistics" => [
                "name"   => "考勤明细",
                "see"    => "查询",
                "import" => "excel 导入",
                "export" => "excel 导出",
                "del"    => "删除",
            ],
            "clockCollect"    => [
                "name"   => "考勤汇总",
                "see"    => "查询",
                "cla"    => "clockStatistics",
                "fun"    => "collect",
                "export" => "excel 导出",
            ],
        ],
    ],
    "薪酬"   => [
        '薪酬规则' => [
            "salaryRule" => [
                "name" => "薪酬规则",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
        ],
        '薪酬核算' => [
            "workSignCheck"        => [
                "name" => "考勤核算-待核算",
                "see"  => "查询",
                "edit" => "核算",
            ],
            "checkRecord"          => [
                "name"   => "考勤核算-已核算",
                "see"    => "查询",
                "cla"    => "workSignCheck",
                "fun"    => "checkRecord",
                "del"    => "撤销",
                "export" => "excel 导出",
            ],
            "insure"               => [
                "name"   => "社保核算",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "import" => "excel 导入",
                "export" => "excel 导出",
            ],
            "providentFund"        => [
                "name" => "公积金扣款",
                "see"  => "查询",
                "edit" => "编辑",
            ],
            "providentFundRecord"  => [
                "name" => "公积金记录",
                "see"  => "查询",
                "del"  => "删除",
                "cla"  => "providentFund",
                "fun"  => "deduction",
            ],
            "personalTax"          => [
                "name"   => "个税记录",
                "see"    => "查询",
                "del"    => "删除",
                "import" => "excel 导入",
            ],
//            "personalTaxDeduction" => [
//                "name" => "个税扣款",
//                "see"  => "查询",
//                "edit" => "编辑",
//                "cla"  => "personalTax",
//                "fun"  => "deduction",
//            ],
            "paySlip"              => [
                "name"   => "工资条",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "pay"    => "拨付",
                "export" => "excel 导出",
                'print'  => '打印',
            ],
        ]
    ],

    "劳务派遣" => [
        '业务单据' => [
            "laborCompany"   => [
                "name"      => "派遣单位",
                "see"       => "查询",
                "edit"      => "编辑",
                "del"       => "删除",
                "import"    => "excel 导入",
                "export"    => "excel 导出",
                'staffEdit' => '联系人添加',
                'staffDel'  => '联系人删除',
                'fileAdd'   => '附件添加',
                'fileDel'   => '附件删除',
            ],
            "laborAgreement" => [
                "name" => "劳务派遣协议",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "labor"          => [
                "name"   => "劳务名册",
                "see"    => "查询",
                "edit"   => "编辑",
                "export" => "excel 导出",
            ],
            "laborSalary"    => [
                "name" => "劳动报酬清单",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "laborSettle"    => [
                "name"   => "派遣结算",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
        ]
    ],
    "报表"   => [
        '统计图' => [
            'personnelStructure'   => [
                "name" => "人员结构",
                "see"  => "查询",
            ],
            'personnelDynamics'    => [
                "name" => "人员动态",
                "see"  => "查询",
            ],
            'attendanceStatistics' => [
                "name" => "考勤统计",
                "see"  => "查询",
            ],
            'wageStatistics'       => [
                "name" => "工资统计",
                "see"  => "查询",
            ],
        ]
    ],

];

// 行政管理
$powerAll["行政管理"] = [
    "物资"  => [
        '业务单据' => [
            "resource"         => [
                "name"   => "物资档案",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "import" => "excel 导入",
                "export" => "excel 导出",
            ],
            "materialPurchase" => [
                "name"   => "物资采购申请",
                "see"    => "查询自己",
                "seeAll" => "查询所有",
                "edit"   => "编辑",
                "del"    => "删除",
            ],
            "materialIn"       => [
                "name"    => "物资入库",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                'confirm' => '确认',
            ],
            "materialOut"      => [
                "name"    => "物资领用",
                "see"     => "查询自己",
                "seeAll"  => "查询全部",
                "edit"    => "编辑",
                "del"     => "删除",
                'confirm' => '确认',
            ],
        ]

    ],
    "车辆"  => [
        '业务单据' => [
            "driver"    => [
                "name"   => "驾驶员档案",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "import" => "excel 导入",
                "export" => "excel 导出",
            ],
            "car"       => [
                "name"   => "车辆档案",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "import" => "excel 导入",
                "export" => "excel 导出",
            ],
            "carRecord" => [
                "name"   => "用车记录",
                "see"    => "查询自己",
                "seeAll" => "查询全部",
                "edit"   => "编辑",
                "del"    => "删除",
            ],
            "carFee"    => [
                "name"   => "车辆费用",
                "see"    => "查询自己",
                "seeAll" => "查询所有",
                "export" => "excel 导出",
            ],
        ]
    ],
    "会议室" => [
        '业务单据' => [
            "meeting"       => [
                "name"   => "会议室档案",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "import" => "excel 导入",
                "export" => "excel 导出",
            ],
            "meetingApply"  => [
                "name" => "会议室申请",
                "see"  => "查询",
            ],
            "meetingRecord" => [
                "name"   => "会议室使用记录",
                "see"    => "查询自己",
                "seeAll" => "查询全部",
                "edit"   => "编辑",
                "del"    => "删除",
            ],
        ],

    ],
    "合同"  => [
        '业务单据' => [
            "contract" => [
                "name"    => "合同列表",
                "see"     => "查询自己",
                "seeAll"  => "查询全部",
                "edit"    => "编辑",
                "del"     => "删除",
                'archive' => '加入待归档',
            ],
        ],
    ],
    "公文"  => [
        '公文设置' => [
            "officialDocumentModel" => [
                "name" => "公文模板",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
        ],
        '发文'=>[
            "officialDocumentSend"  => [
                "name"   => "发文-草拟中",
                "see"    => "查询自己",
                "seeAll" => "查询全部",
                "edit"   => "编辑",
                "del"    => "删除",
            ],
            "officialDocumentAudit" => [
                "name"   => "发文-审核中",
                "see"    => "查询自己",
                "seeAll" => "查询全部",
                'issued' => '签发',
                "cla"    => "officialDocumentSend",
                "fun"    => "documentAudit",
            ],
            "officialIssued"        => [
                "name"      => "发文-已签发",
                "see"       => "查询自己",
                "seeAll"    => "查询全部",
                'cancel'    => '撤销',
                'abandoned' => '废止',
                'archive'   => '加入待归档',
                "cla"       => "officialDocumentSend",
                "fun"       => "issued",
            ],
            "officialRevoke"        => [
                "name"    => "发文-已撤销",
                "see"     => "查询自己",
                "seeAll"  => "查询全部",
                'archive' => '加入待归档',
                "cla"     => "officialDocumentSend",
                "fun"     => "revoke",
            ],
            "officialAbolished"     => [
                "name"    => "发文-已废止",
                "see"     => "查询自己",
                "seeAll"  => "查询全部",
                'archive' => '加入待归档',
                "cla"     => "officialDocumentSend",
                "fun"     => "abolished",
            ],
            "officialall"           => [
                "name"   => "发文-全部",
                "see"    => "查询自己",
                "seeAll" => "查询全部",
                "cla"    => "officialDocumentSend",
                "fun"    => "all",
            ],
        ],
        '收文'=>[
            "officialDocumentGet"   => [
                "name" => "收文-待签收",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "documentGetPending"    => [
                "name" => "收文-待办理",
                "see"  => "查询",
                "cla"  => "officialDocumentGet",
                "fun"  => "pending",
            ],
            "documentGetProcess"    => [
                "name" => "收文-办理中",
                "see"  => "查询",
                "edit" => "催办",
                "cla"  => "officialDocumentGet",
                "fun"  => "process",
            ],
            "documentGetCompleted"  => [
                "name"    => "收文-已办结",
                "see"     => "查询",
                'archive' => '加入待归档',
                "cla"     => "officialDocumentGet",
                "fun"     => "completed",
            ],
            "documentGetAll"        => [
                "name" => "收文-全部",
                "see"  => "查询",
                "cla"  => "officialDocumentGet",
                "fun"  => "all",
            ],
        ]
    ],
    "证章"  => [
        '证照' => [
            "certificate"             => [
                "name" => "证照档案",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "certificateBorrow"       => [
                "name"    => "证照借用",
                "see"     => "查询自己",
                "seeAll"  => "查询全部",
                "edit"    => "编辑",
                "del"     => "删除",
                "borrow"  => "借出",
                "copy"    => "复印",
                "warrant" => "临时授权",
            ],
            "certificateBorrowRecord" => [
                "name"   => "证照借用记录",
                "see"    => "查询自己",
                "seeAll" => "查询全部",
                "cla"    => "certificateBorrow",
                "fun"    => "borrowed",
            ],
            "certificateBack"         => [
                "name" => "证照归还",
                "see"  => "查询",
                "edit" => "编辑",
            ],
            "certificateBackRecord"   => [
                "name" => "证照归还记录",
                "see"  => "查询",
                "cla"  => "certificateBack",
                "fun"  => "borrowed",
            ],
        ],
        '印章' => [
            "seal"                => [
                "name" => "印章档案",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "sealRecord"          => [
                "name"   => "用章申请记录",
                "see"    => "查询自己",
                "seeAll" => "查询全部",
                "edit"   => "编辑",
                "del"    => "删除",
            ],
            "stampRecord"         => [
                "name" => "待用章",
                "see"  => "查询",
                "edit" => "编辑",
            ],
            "stampRecordBorrowed" => [
                "name" => "用章待归还",
                "see"  => "查询",
                "cla"  => "stampRecord",
                "fun"  => "borrowed",
            ],
            "stampRecordAll"      => [
                "name"   => "用章记录",
                "see"    => "查询",
                "cla"    => "stampRecord",
                "fun"    => "all",
                "export" => "excel 导出",
            ],
        ],
    ],
    "档案"  => [
        '业务单据' => [
            "archive"             => [
                "name" => "归档",
                "see"  => "查询",
                "edit" => "编辑",
            ],
            "dossier"             => [
                "name"   => "档案",
                "see"    => "查询自己",
                "seeAll" => "查询全部",
                "edit"   => "编辑",
                "del"    => "删除",
                "import" => "excel 导入",
                "export" => "excel 导出",
                "print"  => "打印",
            ],
            "cabinet"             => [
                "name" => "档案保管",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "archiveBorrow"       => [
                "name"    => "档案借阅",
                "see"     => "查询自己",
                "seeAll"  => "查询全部",
                "edit"    => "编辑",
                "del"     => "删除",
                "borrow"  => "借出",
                "copy"    => "复印",
                "warrant" => "临时授权",
            ],
            "archiveBorrowRecord" => [
                "name"   => "档案借阅记录",
                "see"    => "查询自己",
                "seeAll" => "查询全部",
                "cla"    => "archiveBorrow",
                "fun"    => "borrowed",
            ],
            "archiveReturn"       => [
                "name" => "档案归还",
                "see"  => "查询",
                "edit" => "编辑",
            ],
            "archiveReturnRecord" => [
                "name" => "档案归还记录",
                "see"  => "查询",
                "cla"  => "archiveReturn",
                "fun"  => "borrowed",
            ],
            "archiveRuin"         => [
                "name" => "档案销毁",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "移除",
                "ruin" => "销毁",
            ],
            "archiveRuinRecord"   => [
                "name" => "档案销毁记录",
                "see"  => "查询",
                "cla"  => "archiveRuin",
                "fun"  => "ruined",
            ],
        ],

    ],
    "访客"  => [
        '业务单据' => [
            "visitor" => [
                "name"   => "来访登记",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "import" => "excel 导入",
                "export" => "excel 导出",
                "printEnter" => "下载进场二维码",
                "printLeave" => "下载离场二维码",
            ],
            "productionArea" => [
                "name"   => "生产区域登记",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "drill"    => "培训",
                "revert"    => "归还",
                "import" => "excel 导入",
                "export" => "excel 导出",
            ],
        ],

    ],
    "食堂"  => [
        '业务单据' => [
            "diningHall"      => [
                "name" => "食堂设置",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "diningMenu"      => [
                "name" => "菜品档案",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "weekMenu"        => [
                "name" => "每周菜谱",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "mealOrderRecord" => [
                "name"   => "报餐记录",
                "see"    => "查询",
                "export" => "导出",
            ],
            "dishesCollect"   => [
                "name" => "菜品汇总",
                "see"  => "查询",
                "cla"  => "mealOrderRecord",
                "fun"  => "ruined",
            ],
            "takeMealRecord"  => [
                "name"   => "取餐记录",
                "see"    => "查询",
                "export" => "导出",
            ],
        ],
        '统计'   => [
            "mealStatistics"   => [
                "name"   => "报餐取餐统计",
                "see"    => "查询",
                "export" => "导出",
            ],
            "peopleStatistics" => [
                "name"   => "按人汇总",
                "see"    => "查询",
                "export" => "导出",
                "cla"    => "mealStatistics",
                "fun"    => "people",
            ],
            "foodStatistics"   => [
                "name"   => "按餐汇总",
                "see"    => "查询",
                "export" => "导出",
                "cla"    => "mealStatistics",
                "fun"    => "food",
            ],
            "canteen"          => [
                "name"    => "食堂采购记录",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
            ],
            "canteenPay"       => [
                "name"   => "采购付款统计",
                "see"    => "查询",
                "export" => "导出",
            ]
        ],
        '评价'   => [
            "canteenEvaluate" => [
                "name"   => "食堂评价",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
        ]
        //		"mealRecord" => [
        //			"name"   => "就餐记录",
        //			"see"    => "查询",
        //			"edit"   => "编辑",
        //			"del"    => "删除",
        //			"import" => "excel 导入",
        //			"export" => "excel 导出",
        //		],
    ],
    "住宿"  => [
        '业务单据' => [
            "dormitory"          => [
                "name" => "宿舍档案",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "dormitoryRecord"    => [
                "name" => "住宿记录",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            'dormitoryState'     => [
                "name" => "宿舍状态图",
                "see"  => "查询",
            ],
            "checkLiveRecord"    => [
                "name" => "查寝记录",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "dormitoryFeeRecord" => [
                "name" => "宿舍费用记录",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
        ],
        '统计'   => [
            "dormitoryFeeStatistics" => [
                "name" => "住宿费用统计",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
        ]
    ],
    '稽核'  => [
        '业务单据' => [
            "checkPlan"          => [
                "name" => "稽核计划",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "inspection"         => [
                "name" => "稽核记录",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "inspectionDetail"   => [
                "name"   => "稽核记录-待通知",
                "see"    => "查询",
                "edit"   => "编辑",
                "export" => "excel 导出",
            ],
            "inspectionNotified" => [
                "name"   => "稽核记录-已通知",
                "see"    => "查询",
                "export" => "excel 导出",
                "cla"    => "inspectionDetail",
                "fun"    => "notified",
            ],
            "inspectionFedBack"  => [
                "name"   => "稽核记录-已反馈",
                "see"    => "查询",
                "export" => "excel 导出",
                "cla"    => "inspectionDetail",
                "fun"    => "fedBack",
            ],
            "inspectionPassed"   => [
                "name"   => "稽核记录-验证通过",
                "see"    => "查询",
                "export" => "excel 导出",
                "cla"    => "inspectionDetail",
                "fun"    => "passed",
            ],
            "inspectionFail"     => [
                "name"   => "稽核记录-验证未过",
                "see"    => "查询",
                "export" => "excel 导出",
                "cla"    => "inspectionDetail",
                "fun"    => "fail",
            ],
            "inspectionClose"    => [
                "name"   => "稽核记录-已关闭",
                "see"    => "查询",
                "export" => "excel 导出",
                "cla"    => "inspectionDetail",
                "fun"    => "close",
            ],
            "inspectionAll"      => [
                "name"   => "稽核记录-全部",
                "see"    => "查询",
                "export" => "excel 导出",
                "cla"    => "inspectionDetail",
                "fun"    => "all",
            ],
            "rectification"      => [
                "name" => "整改通知",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
        ],
        '统计'   => [
            "checkStatistics" => [
                "name"   => "稽核统计",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
        ]
    ],
    "奖惩"  => [
        "业务单据" => [
            "rewards" => [
                "name"   => "奖惩记录",
                "see"    => "查看自己",
                "seeAll" => "查看全部",
                "edit"   => "编辑",
                "del"    => "删除",
            ],
        ],

    ],

    "通用审批" => [
        '业务单据' => [
            "generalAudit" => [
                "name"   => "通用审批记录",
                "see"    => "查看自己",
                "seeAll" => "查看全部",
                "edit"   => "编辑",
                "del"    => "删除",
            ],
        ],

    ],
    "任务"   => [
        '业务单据' => [
            "mission"      => [
                "name"   => "我负责的",
                "see"    => "查看自己",
                "seeAll" => "查看全部",
            ],
            "joinMission"  => [
                "name"   => "我参与的",
                "see"    => "查询",
                "seeAll" => "查看全部",
                "cla"    => "mission",
                "fun"    => "joinMission",
            ],
            "tellMission"  => [
                "name"   => "知会我的",
                "see"    => "查询",
                "seeAll" => "查看全部",
                "cla"    => "mission",
                "fun"    => "tellMission",
            ],
            "startMission" => [
                "name"   => "我发起的",
                "see"    => "查询",
                "seeAll" => "查看全部",
                "edit"   => "编辑",
                "del"    => "删除",
                "cla"    => "mission",
                "fun"    => "startMission",
            ],
        ],

    ],
    "信息发布" => [
        '业务单据' => [
            "notification" => [
                "name"   => "公司通知",
                "see"    => "查看自己",
                "seeAll" => "查看全部",
                "edit"   => "编辑",
                "del"    => "删除",
            ],
            "news"         => [
                "name"   => "公司动态",
                "see"    => "查看自己",
                "seeAll" => "查看全部",
                "edit"   => "编辑",
                "del"    => "删除",
            ],
        ],

    ],
    "学习园地" => [
        '业务单据' => [
            "documentCatalog"    => [
                "name" => "文档目录",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "documentManagement" => [
                "name" => "文档",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "documentCenter"     => [
                "name" => "文档中心",
                "see"  => "查询",
            ],
        ],

    ],
    "文件"   => [
        '业务单据' => [
            "file"  => [
                "name"      => "附件",
                "see"       => "查询",
                "seeAll"    => "查看所有",
                "edit"      => "编辑",
                "seeSecret" => "保密文件",
            ],
            "share" => [
                "name"  => "共享文件",
                "see"   => "查询",
                "edit"  => "编辑",
                "del"   => "删除",
                "power" => "权限控制",
                "zip"   => "压缩",
            ],
        ],
    ],
];

$powerAll["销售管理"] = [
    '订货商城' => [
        '业务单据' => [
            "productSetupStore" => [
                "name" => "商品设置",
                "see"  => "查询",
                "edit" => "编辑",
            ],
            "clientStore"       => [
                "name"  => "客户账号",
                "see"   => "查询",
                "edit"  => "编辑",
                "del"   => "删除",
                "state" => "启停用",
            ],
            "orderStore"        => [
                "name"    => "订货订单",
                "see"     => "查询",
                // "edit"    => "编辑",
                // "del"     => "删除",
                "confirm" => "确认",
            ],
            "announcementStore" => [
                "name" => "商城公告",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
        ]
    ],
    //    '企微管理' => [
    // "Live Code" => [
    //     "name" => "活码",
    //     "see"  => "查询",
    //     "edit" => "编辑",
    //     "del"  => "删除",
    // ],
    // "Enterprise Micro Client" => [
    //     "name" => "企微客户",
    //     "see"  => "查询",
    //     "edit" => "编辑",
    //     "del"  => "删除",
    // ],
    // "Enterprise Micro Client Group" => [
    //     "name" => "企微客户群",
    //     "see"  => "查询",
    //     "edit" => "编辑",
    //     "del"  => "删除",
    // ],
    // "Material Management" => [
    //     "name" => "素材管理",
    //     "see"  => "查询",
    //     "edit" => "编辑",
    //     "del"  => "删除",
    // ],
    // "Session Archive" => [
    //     "name" => "会话存档",
    //     "see"  => "查询",
    //     "edit" => "编辑",
    //     "del"  => "删除",
    // ],
    // "Separation and succession" => [
    //     "name" => "离职继承",
    //     "see"  => "查询",
    //     "edit" => "编辑",
    //     "del"  => "删除",
    // ],
    // "Inheritance in service" => [
    //     "name" => "在职继承",
    //     "see"  => "查询",
    //     "edit" => "编辑",
    //     "del"  => "删除",
    // ],
    // "Deletion of customer risk control" => [
    //     "name" => "删客风控",
    //     "see"  => "查询",
    //     "edit" => "编辑",
    //     "del"  => "删除",
    // ],
    //    ],
    '客户管理' => [
        '销售线索' => [
            "clue"            => [
                "name"      => "我的线索",
                'admin'     => '管理员操作',
                "see"       => "查询",
                "edit"      => "编辑",
                "del"       => "删除",
                "import"    => "excel 导入",
                'export'    => "excel 导出",
                'fileAdd'   => '附件添加',
                'fileDel'   => '附件删除',
                'newFollow' => '跟进记录添加',
                'delFollow' => '跟进记录删除',
            ],
            "clueCooperation" => [
                "name" => "我协作的",
                "see"  => "查询",
                "cla"  => "clue",
                "fun"  => "cooperation",
            ],
            "allClue"         => [
                "name"     => "全部线索",
                "see"      => "查询自己",
                "seeGroup" => "查询下级",
                "seeAll"   => "查询全部",
                "edit"     => "编辑",
                "cla"      => "clue",
                "fun"      => "allClue",
            ],
            "cluePool"        => [
                "name"   => "线索池",
                "see"    => "查询自己",
                "seeAll" => "查询全部",
                "edit"   => "编辑",
                "del"    => "删除",
                "import" => "excel 导入",
                'export' => "excel 导出",
            ],
        ],
        '客户档案' => [
            "client"            => [
                "name"      => "我的客户",
                'admin'     => '管理员操作',
                "see"       => "查询",
                "edit"      => "编辑",
                "del"       => "删除",
                "import"    => "excel 导入",
                'export'    => "excel 导出",
                'fileAdd'   => '附件添加',
                'fileDel'   => '附件删除',
                'newFollow' => '跟进记录添加',
                'delFollow' => '跟进记录删除',
                'staffEdit' => '联系人添加',
                'staffDel'  => '联系人删除',
            ],
            "clientCooperation" => [
                "name" => "我协作的",
                "see"  => "查询",
                "cla"  => "client",
                "fun"  => "cooperation",
            ],
            "allClient"         => [
                "name"     => "全部客户",
                "see"      => "查询自己",
                "seeGroup" => "查询下级",
                "seeAll"   => "查询全部",
                'admin'    => '管理员操作',
                "cla"      => "client",
                "fun"      => "allClue",
            ],
            "clientPool"        => [
                "name"   => "公客池",
                "see"    => "查询自己",
                "seeAll" => "查询全部",
                "edit"   => "编辑",
                "del"    => "删除",
                "import" => "excel 导入",
                'export' => "excel 导出",
            ],
            "kehuStaff"         => [
                "name"   => "联系人",
                "see"    => "查询自己",
                "seeAll" => "查询全部",
                "import" => "excel 导入",
                "export" => "excel 导出",
            ],
            "vicinityClient"    => [
                "name" => "附近客户",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "follow"            => [
                "name"   => "跟进记录",
                "see"    => "查询自己",
                "seeAll" => "查询全部",
                "export" => "excel 导出",
            ],
            "visitPlan"         => [
                "name" => "访客计划",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
                //        "confirm" => "确认",
            ],
        ],
        '商机' => [
            "opportunity"            => [
                "name"      => "我的商机",
                "see"       => "查询",
                "edit"      => "编辑",
                "del"       => "删除",
                "import"    => "excel 导入",
                "export"    => "excel 导出",
                'fileAdd'   => '附件添加',
                'fileDel'   => '附件删除',
                'newFollow' => '跟进记录添加',
                'delFollow' => '跟进记录删除',
            ],
            "opportunityCooperation" => [
                "name" => "我协作的",
                "see"  => "查询",
                "cla"  => "opportunity",
                "fun"  => "cooperation",
            ],
            "allOpportunity"         => [
                "name"     => "全部商机",
                'admin'    => '管理员操作',
                "see"      => "查询自己",
                "seeGroup" => "查询下级",
                "seeAll"   => "查询全部",
                "cla"      => "opportunity",
                "fun"      => "allClue",
            ],
        ],
        '客户设置' => [
            "tag"               => [
                "name" => "标签设置",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            //        "keyAuthorization" => [
            //            "name" => "密钥授权",
            //            "see"  => "查询",
            //            "edit" => "编辑",
            //            "del"  => "删除",
            //        ],
            //        "SMSConfig" => [
            //            "name" => "短信设置",
            //            "see"  => "查询",
            //            "edit" => "编辑",
            //            "del"  => "删除",
            //        ],
            "performanceTarget" => [
                "name" => "业绩目标设置",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "cluePoolSetting"   => [
                "name" => "线索池设置",
                "see"  => "自己",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "clientPoolSetting" => [
                "name" => "客户池设置",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
        ],
        '报表' => [
            "salesProcessStatistics"     => [
                "name" => "销售过程统计",
                "see"  => "查询",
            ],
            "salesPerformanceStatistics" => [
                "name" => "销售业绩统计",
                "see"  => "查询",
            ],
            "customerAnalysis"           => [
                "name" => "客户分析",
                "see"  => "查询",
            ],
            "salesStatistics" => [
                "name"      => "客户销售统计",
                "see"       => "查询",
                "export"    => "excel 导出",
            ],
            "visitRecords"           => [
                "name" => "客户走访记录",
                "see"  => "查询",
                "edit" => "新增",
                "del" => "删除",
            ],
        ]
    ],
    '销售业务' => [
        '报价单' => [
            "quotations"      => [
                "name"    => "报价单",
                "see"     => "查询自己",
                "seeAll"  => "查询全部",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
                "cancel"  => "撤回",
                "print"   => "打印",
            ],
        ],
        '销售合同' => [
            "salesContract"   => [
                "name"    => "销售合同",
                "see"     => "查询自己",
                "seeAll"  => "查询全部",
                "edit"    => "编辑",
                "del"     => "删除",
                "fileAdd" => '附件上传',
                "fileDel" => '附件删除',
            ],
            "paybackPlan"     => [
                "name"   => "回款计划",
                "see"    => "查询",
                // "edit" => "编辑",
                // "del" => "删除",
                "export" => "excel 导出",
            ],
        ],
        '销售预测' => [
            "saleForecast"    => [
                "name"    => "销售预测",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
                "cancel"  => "撤回",
            ],
        ],
        '销售订货' => [
            "saleOrder"       => [
                "name"    => "销售订单",
                "see"     => "查询自己",
                "seeAll"  => "查询全部",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
                "cancel"  => "撤回",
                'print'   => '打印',
                "close"   => "批量关闭",
                "import"  => "excel 导入",
            ],
        ],
        '销售发货' => [
            "saleSendOrder"   => [
                "name"    => "销售发货单",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
                "cancel"  => "撤回",
                'print'   => '打印',
            ],
            "saleSendOrderChange"   => [
                "name"    => "在途变更单",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
            ],
        ],
        '销售退货' => [
            "saleRefundOrder" => [
                "name"    => "销售退货单",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
                "cancel"  => "撤回",
                'print'   => '打印',
            ],
        ],
        '销售设置' => [
            "clientPriceList" => [
                "name"   => "客户价格本",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "import" => "excel 导入",
                "export" => "excel 导出",
            ],
            "priceChange" => [
                "name"   => "价格变更申请",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
            ],
            "customerStorage" => [
                "name"   => "客户寄存",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "warehousing"   => "入库",
                "delivery"    => "发货",
                "import" => "excel 导入",
                "export" => "excel 导出",
            ],
        ],
    ],
    '销售报表' => [
        '执行' => [
            "saleTrack"         => [
                "name"   => "销售订单跟踪表",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
        ],
        '分析' => [
            "saleIncome"        => [
                "name"   => "销售收款一览表",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "saleProfit"        => [
                "name"   => "销售利润表",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
        ],
        '统计' => [
            'salesReportForm'     => [
                "name" => "销售报表",
                "see"  => "查询",
            ],
            "saleStatistics"    => [
                "name"   => "销售汇总",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
//            "clientStatistics"  => [
//                "name"   => "销售客户汇总",
//                "see"    => "查询",
//                "export" => "excel 导出",
//                "cla"    => "saleStatistics",
//                "fun"    => "client",
//            ],
//            "saleManStatistics" => [
//                "name"   => "销售员汇总",
//                "see"    => "查询",
//                "export" => "excel 导出",
//                "cla"    => "saleStatistics",
//                "fun"    => "saleMan",
//            ],
            "saleSendStatistics"  => [
                "name"   => "销售发货汇总",
                "see"    => "查询",
                "export" => "excel 导出",
                "cla"    => "saleStatistics",
                "fun"    => "saleSend",
            ],
        ],
        '明细' => [
            "saleOrderMx"       => [
                "name"   => "销售订单明细表",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "saleSendOrderMx"       => [
                "name"   => "销售发货明细表",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
        ],
    ],
    '售后维修' => [
        '业务单据' => [
            "installDebug"           => [
                "name"    => "安装调试",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => '确认',
                "cancel"  => '撤回',
            ],
            "aftermarketRegister"    => [
                "name"           => "维修登记",
                "see"            => "查询",
                "edit"           => "编辑",
                "del"            => "删除",
                "registry"       => '登记',
                "registryCancel" => "取消登记",
            ],
            "aftermarketAssign"      => [
                "name"          => "维修待派工",
                "see"           => "查询",
                "edit"          => "编辑",
                "del"           => "删除",
                "assign"        => "内部派工",
                "assignOutside" => "委外维修",
            ],
            "aftermarketAssignPart"  => [
                "name"         => "维修已派工",
                "see"          => "查询",
                "assignCancel" => "取消派工",
                "done"         => "完成",
                "cla"          => "aftermarketAssign",
                "fun"          => "part",
            ],
            "aftermarketRecord"      => [
                "name" => "已派工维修记录",
                "see"  => "查询",
            ],
            "aftermarketRecordDone"  => [
                "name" => "已完成维修记录",
                "see"  => "查询",
                "cla"  => "aftermarketRecord",
                "fun"  => "done",
            ],
            "aftermarketCollocation" => [
                "name"    => "维修领用",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => '确认',
                "cancel"  => '取消',
                "print"   => "打印",
            ],
        ],
        '统计' => [
            "aftermarketStatistics" => [
                "name"   => "故障统计",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
        ],
    ],
];

$powerAll["采购管理"] = [
    '供应商管理' => [
        '基础档案' => [
            "supplier"          => [
                "name"      => "供应商档案",
                "see"       => "查询",
                "seeAll"    => "查询所有",
                "edit"      => "编辑",
                "del"       => "删除",
                "import"    => "excel 导入",
                "export"    => "excel 导出",
                'staffEdit' => '联系人添加',
                'staffDel'  => '联系人删除',
                'fileAdd'   => '附件添加',
                'fileDel'   => '附件删除',
            ],
        ],
        '价格管理' => [
            "supplierPriceList" => [
                "name"   => "供应商价格本",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "import" => "excel 导入",
                "export" => "excel 导出",
            ],
        ],
    ],
    '采购业务' => [
        '采购计划' => [
            "purchaseDemand"          => [
                "name" => "外购产品需求",
                "see"  => "查询",
                "edit" => "编辑",
            ],
        ],
        '采购合同' => [
            "purchaseContract"        => [
                "name"    => "采购合同",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                'fileAdd' => '附件编辑',
                'fileDel' => '附件删除',
            ],
            "supplyList"              => [
                "name"   => "供货清单",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
        ],
        '请购' => [
            "purchaseApply"           => [
                "name"    => "采购申请",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
                "cancel"  => "撤回",
                'close'   => '关闭'
            ],
            "purchaseInquiry"           => [
                "name"    => "采购询价",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
                "cancel"  => "撤回",
                'close'   => '关闭'
            ],
        ],
        '采购订货' => [
            "purchaseOrder"           => [
                "name"    => "采购订单",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
                "cancel"  => "撤回",
                'print'   => '打印',
                'close'   => '关闭',
                "import"  => "excel 导入",
            ],
        ],
        '采购到货' => [
            "purchaseGetOrder"        => [
                "name"    => "采购入库单",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
                "cancel"  => "撤回",
                'print'   => '打印',
            ],
        ],
        '采购退货' => [
            "purchaseRefundOrder"     => [
                "name"    => "采购退货单",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
                "cancel"  => "撤回",
                'print'   => '打印',
            ],
        ],
        '暂估调整' => [
            "purchaseEstimationOrder" => [
                "name"    => "暂估调整单",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
                "cancel"  => "撤回",
                'print'   => '打印',
            ],
        ],
    ],
    '报表' => [
        '执行表' => [
            "purchaseTrack"              => [
                "name"   => "采购订单跟踪",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "purchasePay"                => [
                "name"   => "采购付款一览表",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
        ],
        '明细表' => [
            "purchaseOrderMx"            => [
                "name"   => "采购明细表",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
        ],
        '统计' => [
            'purchaseReportForm'  => [
                "name" => "采购报表",
                "see"  => "查询",
            ],
            "purchaseStatistics"         => [
                "name"   => "采购商品汇总",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "supplierPurchaseStatistics" => [
                "name"   => "采购供应商汇总",
                "see"    => "查询",
                "export" => "excel 导出",
                "cla"    => "purchaseStatistics",
                "fun"    => "supplier",
            ],
        ],
    ],
];

$powerAll["钢瓶管理"] = [
    '钢瓶管理' => [
        '新钢瓶库存' => [
            "newSteelCylinder"          => [
                "name"      => "新钢瓶库存",
                "see"       => "查询",
                "edit"      => "编辑",
                "del"       => "删除",
                "import"    => "excel 导入",
                "export"    => "excel 导出",
                "warehousing"    => "使用出库",
                "delivery"    => "绑定物料",
                "confirm"    => "批量确认",
            ],
        ],
        '旧钢瓶库存' => [
            "pastSteelCylinder" => [
                "name"   => "旧钢瓶库存",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "报废",
                "updataNo" => "修改内部编码",
                "export" => "excel 导出",
            ],
        ],
        '待检验钢瓶' => [
            "inspectSteelCylinder" => [
                "name"   => "待检验钢瓶",
                "see"    => "查询",
                "edit" => "提交检验",
                "export" => "excel 导出",
            ],
        ],
        '钢瓶检验记录' => [
            "inspectSteelCylinderLog" => [
                "name"   => "钢瓶检验记录",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "import" => "excel 导入",
                "export" => "excel 导出",
            ],
        ],
        '生产液氨记录' => [
            "produceLnLog" => [
                "name"   => "生产液氨记录",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "import" => "excel 导入",
                "export" => "excel 导出",
            ],
        ],
        '钢瓶收发明细表' => [
            "steelCylinder" => [
                "name"   => "钢瓶收发明细表",
                "see"    => "查询",
                "edit"   => "编辑",
                "addData"   => "添加钢瓶",
                "del"    => "删除",
                "import" => "excel 导入",
                "export" => "excel 导出",
            ],
        ],
    ],
];

$powerAll["库存管理"] = [
    '基础档案' => [
        '仓库档案' => [
            "warehouse"         => [
                "name"   => "仓库档案",
                "see"    => "查询",
                "seeAll" => "查询所有",
                "edit"   => "编辑",
                "del"    => "删除",
                "import" => "excel 导入",
            ],
            "warehousePosition" => [
                "name"   => "仓位设置",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "liquidAmmonia" => [
                "name"   => "液氨液位",
                "see"    => "查询",
                "export" => "excel 导出",
                "import" => "excel 导入",
            ],
            "ammoniaLevel" => [
                "name"   => "氨水液位",
                "see"    => "查询",
                "export" => "excel 导出",
                "import" => "excel 导入",
            ],
        ],
    ],
    '入库' => [
        '入库单' => [
            "inStockList"              => [
                "name"   => "入库单",
                "see"    => "查询",
                "edit"   => "入库",
                "export" => "excel 导出",
            ],
            "inStock"              => [
                "name"   => "待入库",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
//            "inStockExec"          => [
//                "name"   => "入库",
//                "see"    => "查询",
//                "edit"   => "入库",
//                "del"    => "删除",
//                "print"  => '打印',
//                "check"  => '复核',
//                "cancel" => '作废',
//                "import" => "excel 导入",
//                "export" => "excel 导出",
//            ],
        ],
    ],
    '出库' => [
        '出库单' => [
            "outStockList"              => [
                "name"   => "出库单",
                "see"    => "查询",
                "edit"   => "出库",
                "export" => "excel 导出",
            ],
            "outStock"             => [
                "name"   => "待出库",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
//            "outStockExec"         => [
//                "name"   => "出库",
//                "see"    => "查询",
//                "edit"   => "出库",
//                "del"    => "删除",
//                "print"  => '打印',
//                "check"  => '复核',
//                "cancel" => '作废',
//                "import" => "excel 导入",
//                "export" => "excel 导出",
//            ],
        ],
    ],
    '组装拆卸' => [
        '业务单据' => [
            "assembly"             => [
                "name"    => "组装单",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => '确认',
                "cancel"  => '取消',
            ],
            "dismantle"            => [
                "name"    => "拆解单",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => '确认',
                "cancel"  => '取消',
            ],
        ],
    ],
    '调拨' => [
        '业务单据' => [
            "inventoryAllot"       => [
                "name"    => "调拨单",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "print"   => '打印',
                "confirm" => '确认',
                "cancel"  => '取消',
            ],
        ],
    ],
    '库位管理' => [
        '业务单据' => [
            "moveStock"            => [
                "name" => "移库",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "moveStockRecord"      => [
                "name" => "移库记录",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
        ],
    ],
    '盘点' => [
        '业务单据' => [
            "inventory"            => [
                "name"    => "盘点单",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => '确认',
                "cancel"  => '取消',
                "import"  => "excel 导入",
                "export"  => "excel 导出",
            ],
        ],
    ],
    '成本管理' => [
        '业务单据' => [
            "costAdjustment"       => [
                "name"    => "成本调整单",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => '确认',
                "cancel"  => '取消',
            ],
        ],
    ],
    '工具管理' => [
        '业务流程' => [
            "toolCollection"       => [
                "name"   => "工具领用",
                "see"    => "查询",
                "edit"   => "出库",
                "del"    => "删除",
                "export" => "excel 导出",
            ],
            "toolOverhaulOut"      => [
                "name"  => "工具检修出库",
                "see"   => "查询",
                "edit"  => "编辑",
                "del"   => "删除",
                "print" => "打印",
            ],
            "toolOverhaulIn"       => [
                "name"  => "工具检修入库",
                "see"   => "查询",
                "edit"  => "编辑",
                "del"   => "删除",
                "print" => "打印",
            ],
            "toolOverhaulRecord"   => [
                "name"   => "工具检修记录",
                "see"    => "查询",
                "export" => "excel 导出",
                "cla"    => "toolOverhaulOut",
                "fun"    => "toolOverhaulRecord",
            ],
            "toolCollectionRecord" => [
                "name"   => "工具领用归还明细",
                "see"    => "查询",
                "export" => "excel 导出",
                "cla"    => "toolCollection",
                "fun"    => "toolCollectionRecord",
            ],
        ],
    ],
    '仓库报表' => [
        '库存余额' => [
            "inventoryDistribution"    => [
                "name"   => "库存分布",
                "see"    => "查询",
                "export" => "excel 导出",
                "map"    => "库存分布图",
            ],
            "inventoryDistributionMap" => [
                "name" => "库存分布图",
                "see"  => "查询",
            ],
            "inventoryBalance"         => [
                "name"   => "库存余额表",
                "see"    => "查询",
                "price"  => "单价查看",
                "export" => "excel 导出",
            ],
        ],
        '库存动态' => [
            'inventoryReportForm' => [
                "name" => "库存报表",
                "see"  => "查询",
            ],
            "batchDetail"              => [
                "name"   => "批次明细表",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "receiptDelivery"          => [
                "name"   => "收发明细表",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "receiptDeliverySummary"   => [
                "name"   => "收发汇总表",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
        ],
    ],
];

$powerAll["物流管理"] = [
    '基础档案' => [
        '驾驶员' => [
            "logisticsDriver"        => [
                "name"   => "驾驶员档案",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "import" => "excel 导入",
                "export" => "excel 导出",
            ],
        ],
        '车辆' => [
            "logisticsCar"           => [
                "name"   => "内部车辆",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "import" => "excel 导入",
                "export" => "excel 导出",
            ],
            "logisticsTransferCar"   => [
                "name" => "外调车辆",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
        ],
    ],
    '物流业务' => [
        '物流单' => [
            "deliveryManage"         => [
                "name" => "发货待派车",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "deliveryManageAlready"  => [
                "name" => "发货已派车",
                "see"  => "查询",
                "edit" => "编辑",
                "cla"  => "deliveryManage",
                "fun"  => "already",
            ],
            "deliveryManageDelivery" => [
                "name" => "已发货",
                "see"  => "查询",
                "edit" => "编辑",
                "cla"  => "deliveryManage",
                "fun"  => "delivery",
            ],
            "deliveryManageSign"     => [
                "name" => "已签收",
                "see"  => "查询",
                "edit" => "编辑",
                "cla"  => "deliveryManage",
                "fun"  => "sign",
            ],
        ],
        '运费' => [
            "freightDetails"         => [
                "name"   => "内部车辆运费明细",
                "see"    => "查询",
                "edit"   => "编辑",
                "export" => "excel 导出",
            ],
            "freightDetailsExternal" => [
                "name"   => "外调车辆运费明细",
                "see"    => "查询",
                "edit"   => "编辑",
                "export" => "excel 导出",
                "cla"    => "freightDetails",
                "fun"    => "external",
            ],
            "freight" => [
                "name"   => "运费明细",
                "see"    => "查询",
                "export" => "excel 导出",
                "cla"    => "freightDetails",
                "fun"    => "list",
            ],
            "freightChange" => [
                "name"   => "运费调整",
                "see"    => "查询",
                "edit"   => "编辑",
                "export" => "excel 导出",
            ],
        ],
    ],
];

$powerAll["委外管理"] = [
    '工序委外业务' => [
        '委外计划' => [
            "outsourceDemand"     => [
                "name" => "委外需求计划",
                "see"  => "查询",
                "edit" => "编辑",
            ],
        ],
        '委外合同' => [
            "outsourceContract"   => [
                "name"    => "委外合同",
                "see"     => "查询",
                "seeAll"  => "查询全部",
                "edit"    => "编辑",
                "del"     => "删除",
                'fileAdd' => '附件添加',
                'fileDel' => '附件删除',
            ],
            "outsourceList"       => [
                "name"   => "委外供应清单",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
        ],
        '委外订单' => [
            "outsourceProcess"    => [
                "name"    => "委外加工单",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
                "cancel"  => "撤回",
                "print"   => '打印',
            ],
        ],
        '委外收货' => [
            "outsourceGet"        => [
                "name"    => "委外收货单",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
                "cancel"  => "撤回",
                "print"   => '打印',
            ],
        ],
        '委外退货' => [
            "outsourceRefund"     => [
                "name"    => "委外退货单",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
                "cancel"  => "撤回",
                "print"   => '打印',
            ],
        ],
        '委外结算' => [
            "outsourceSettle"     => [
                "name"    => "委外结算单",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
                "cancel"  => "撤回",
            ],
        ],
        '委外报表' => [
            "outsourceProcessTrack"   => [
                "name"   => "委外加工单跟踪",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
        ],
    ],
    '委外材料管理' => [
        '委外发料' => [
            "outsourcePick"       => [
                "name"    => "委外发料单",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
                "cancel"  => "撤回",
                "print"   => '打印',
            ],
        ],
        '委外退料' => [
            "outsourcePickRefund" => [
                "name"    => "委外退料单",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
                "cancel"  => "撤回",
                "print"   => '打印',
            ],
        ],
        '报表' => [
            "outsourcePickMx"         => [
                "name"   => "委外发退料明细",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "outsourceDiff"           => [
                "name"   => "委外用料差异明细",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "outsourceDiffStatistics" => [
                "name"   => "委外用料差异汇总",
                "see"    => "查询",
                "export" => "excel 导出",
                "cla"    => "outsourceDiff",
                "fun"    => "statistics",
            ],
        ],
    ],
    '委外结算' => [
        '委外成本' => [
            "outsourceCost"           => [
                "name"   => "委外成本核算",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
        ],
    ],
];

$powerAll["自制生产"] = [
    '生产计划' => [
        '生产计划' => [
            "productDemand"         => [
                "name" => "产品需求计划",
                "see"  => "查询",
                "edit" => "编辑",
            ],
        ],
    ],
    '生产控制' => [
        '生产工单' => [
            "machiningOrder"        => [
                "name"    => "生产计划",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
                "cancel"  => "撤回",
                'print'   => '打印',
                "import"  => "excel 导入",
            ],
            "semiProductDemand"     => [
                "name" => "半成品需求计划",
                "see"  => "查询",
                "edit" => "编辑",
            ],
            "semiMachiningOrder"    => [
                "name"    => "半成品加工单",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
                "cancel"  => "撤回",
                'print'   => '打印',
            ],
            "materialDemand"        => [
                "name"   => "材料需求计划明细",
                "see"    => "查询",
                "edit"   => "编辑",
                "export" => "excel 导出",
            ],
            "materialDemandDate"    => [
                "name"   => "按日期汇总材料需求",
                "see"    => "查询",
                "export" => "excel 导出",
                "cla"    => "materialDemand",
                "fun"    => "summary",
            ],
            "materialDemandSummary" => [
                "name"   => "按物料汇总材料需求",
                "see"    => "查询",
                "export" => "excel 导出",
                "cla"    => "materialDemand",
                "fun"    => "materialSummary",
            ],
        ],
        '工序流转卡' => [
            "machiningCard"                => [
                "name"   => "生产流转卡",
                "see"    => "查询",
                "export" => "excel 导出",
                'print'  => '打印',
            ],
        ],
        '工序计划' => [
            "machiningSendOrder"           => [
                "name"    => "生产派工单",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
                "cancel"  => "撤回",
                'print'   => '打印',
            ],
            "machiningSendOrderWaitReport" => [
                "name"    => "生产派工单待报工",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
                "cancel"  => "撤回",
                'print'   => '打印',
                "cla"     => "machiningSendOrder",
                "fun"     => "waitReport",
            ],
            "machiningSendOrderPartReport" => [
                "name"    => "生产派工单部分报工",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
                "cancel"  => "撤回",
                'print'   => '打印',
                "cla"     => "machiningSendOrder",
                "fun"     => "partReport",
            ],
            "machiningSendOrderReported"   => [
                "name"    => "生产派工单已报工",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
                "cancel"  => "撤回",
                'print'   => '打印',
                "cla"     => "machiningSendOrder",
                "fun"     => "reported",
            ],
        ],
        '工序报工' => [
            "processReport"                => [
                "name"    => "工序报工",
                "see"     => "查询自己",
                "seeAll"  => "查询全部",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
                "cancel"  => "撤回",
            ],
        ],
        '生产返工' => [
            "machiningReworkOrder"         => [
                "name"    => "生产返工单",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
                "cancel"  => "撤回",
                "print"   => "打印",
            ],
        ],
        '生产完工' => [
            "machiningInOrder"             => [
                "name"    => "生产入库单",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
                "cancel"  => "撤回",
            ],
        ],
    ],
    '材料控制' => [
        '领退料' => [
            "pickOrder"                => [
                "name"    => "领料单",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
                "cancel"  => "撤回",
                "print"   => "打印",
                'import'  => 'excel导入',
            ],
            "refundMaterialOrder"      => [
                "name"    => "退料单",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
                "cancel"  => "撤回",
                'import'  => 'excel导入',
            ],
        ],
        '配料' => [
            "ingredientsOrder"         => [
                "name" => "未配料",
                "see"  => "查询",
                "edit" => "编辑",
            ],
            "ingredientsOrderDone"     => [
                "name"    => "已配料",
                "see"     => "查询",
                "edit"    => "编辑",
                "confirm" => "确认",
                "cancel"  => "撤回",
                "cla"     => "ingredientsOrder",
                "fun"     => "done",
            ],
            "ingredientsOrderList"     => [
                "name"    => "配料单",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
                "cancel"  => "撤回",
                "cla"     => "ingredientsOrder",
                "fun"     => "order",
            ],
            "tempInventory"            => [
                "name"   => "线边库存",
                "see"    => "查询",
                'export' => "excel 导出",
            ],
            "tempInventoryRefund"      => [
                "name"    => "线边库存退库",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
            ],
            "materialDistribute"       => [
                "name" => "材料倒冲",
                "see"  => "查询",
                "edit" => "编辑",
            ],
            "materialDistributeRecord" => [
                "name"    => "材料分配记录",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
                "cancel"  => "撤回",
            ],
        ],
        '废料' => [
            "scrappedOrder"                => [
                "name" => "报废申请单",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
        ],
    ],
    '生产工资' => [
        '计时工资' => [
            "pieceHour"       => [
                "name"   => "计时工资",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "workshopClock"                => [
                "name"    => "车间考勤表",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
                "cancel"  => "撤回",
                'import'  => 'excel 导入',
                'export'  => "excel 导出",
            ],
            'timingReport'                 => [
                "name"   => "计时日报",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                'import' => 'excel 导入',
                'export' => "excel 导出",
            ],
        ],
        '计件工资' => [
            "pieceCount"      => [
                "name"   => "计件工资",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
        ],
        '工资报表' => [
            "pieceStatistics" => [
                "name"   => "计时计件汇总",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "export" => "excel 导出",
                "print"  => "打印",
                "pay"    => "拨付",
            ],
        ],
    ],
    '生产成本' => [
        '生产成本核算' => [
            "costCount"           => [
                "name"   => "成本核算",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "costCountStatistics" => [
                "name"   => "辅助成本核算",
                "see"    => "查询",
                "import" => "excel 导入",
                "export" => "excel 导出",
            ],
            "costAllocation"               => [
                "name"    => "成本分摊单",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
                "cancel"  => "撤回",
            ],
        ],
    ],
    '生产统计' => [
        '生产报表' => [
            "productTrack"            => [
                "name"   => "生产订单跟踪",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "completionRate"          => [
                "name"   => "完工率统计",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "pickAndRefundMx"         => [
                "name"   => "生产领退料明细",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "productDiff"             => [
                "name"   => "生产用料差异",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "processReportStatistics" => [
                "name"   => "工序报工统计",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "processInventory"        => [
                "name"   => "工序库存表",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
        ],
        '可视化看板' => [
            "productionKanban" => [
                "name" => "生产看板",
                "see"  => "查询",
            ],
        ],
    ],
    '基础档案' => [
        '基础档案' => [
            "productLine" => [
                "name"   => "生产线档案",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "import" => "excel 导入",
            ],
            "team"        => [
                "name" => "班组档案",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
        ],
    ],
];

$powerAll["质量管理"] = [
    '质检业务' => [
        '检验' => [
            "materialInspection"   => [
                "name"    => "来料检验",
                "see"     => "查询",
                "edit"    => "编辑",
                "confirm" => "确认",
                "cancel"  => "撤回",
            ],
            "outsourceInspection"  => [
                "name"    => "委外入库检验",
                "see"     => "查询",
                "edit"    => "编辑",
                "confirm" => "确认",
                "cancel"  => "撤回",
            ],
            "processingInspection" => [
                "name"    => "制程检验",
                "see"     => "查询",
                "edit"    => "编辑",
                "confirm" => "确认",
                "cancel"  => "撤回",
            ],
            "processSpotCheck"     => [
                "name"    => "工序巡检",
                "see"     => "查询",
                "edit"    => "编辑",
                "confirm" => "确认",
                "cancel"  => "撤回",
            ],
            "processInspection"    => [
                "name"    => "制终检验",
                "see"     => "查询",
                "edit"    => "编辑",
                "confirm" => "确认",
                "cancel"  => "撤回",
            ],
            "shippingInspection"   => [
                "name"    => "发货检验",
                "see"     => "查询",
                "edit"    => "编辑",
                "confirm" => "确认",
                "cancel"  => "撤回",
            ],
        ],
        '不良品处理' => [
            "productBadDeal"       => [
                "name" => "不良处理",
                "see"  => "查询",
                "edit" => "编辑",
            ],
        ],
    ],
    '质量统计' => [
        '质量报表' => [
            "materialInspectionStatistics"   => [
                "name"   => "来料检验统计",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "outsourceInspectionStatistics"  => [
                "name"   => "委外入库检验统计",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "processingInspectionStatistics" => [
                "name"   => "制程检验统计",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "processSpotCheckStatistics"     => [
                "name"   => "工序巡检统计",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "processInspectionStatistics"    => [
                "name"   => "制终检验统计",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "shippingInspectionStatistics"   => [
                "name"   => "发货检验统计",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "badAnalysis"                    => [
                "name"   => "不良原因分析",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
        ],
        '可视化看板' => [
            "qualityKanban"    => [
                "name" => "质量看板",
                "see"  => "查询",
            ],
        ],
    ],
    '质检方案' => [
        '产品质检方案' => [
            "quarantine" => [
                "name" => "产品质检方案",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
        ],
    ],
];

$powerAll["设备管理"] = [
    '设备' => [
        '设备' => [
            "equipment"            => [
                "name"        => "设备",
                "see"         => "查询",
                "edit"        => "编辑",
                "del"         => "删除",
                "print"       => "打印",
                "state"       => "状态",
                'inspection'  => '巡检计划',
                'maintenance' => '保养计划',
                'failure'     => '故障类型',
                'fileAdd'     => '附件添加',
                'fileDel'     => '附件删除',
                "import"      => "excel 导入",
            ],
            "equipmentInspection"  => [
                "name" => "巡检",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "equipmentMaintenance" => [
                "name" => "保养",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "equipmentRepair"      => [
                "name"           => "维修登记",
                "see"            => "查询",
                "edit"           => "编辑",
                "del"            => "删除",
                "registry"       => '登记',
                "registryCancel" => "取消登记",
            ],
            "equipmentRepairPart"  => [
                "name"         => "维修派工",
                "see"          => "查询",
                "assign"       => "派工",
                "assignCancel" => "取消派工",
                "done"         => "完成",
                "cla"          => "equipmentRepair",
                "fun"          => "part",
            ],
            "equipmentRepairAll"   => [
                "name" => "维修记录",
                "see"  => "查询",
                "cla"  => "equipmentRepair",
                "fun"  => "all",
            ],
            "moldDisarmament"      => [
                "name"   => "设备核减",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "export" => "excel 导出",
            ],
        ],
        '配件' => [
            "parts"           => [
                "name"   => "配件",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "state"  => "启停用",
                "import" => "excel 导入",
                "export" => "excel 导出",
            ],
            "partsInStock"    => [
                "name"    => "配件入库",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => '确认',
                "cancel"  => '取消',
                "print"   => "打印",
            ],
            "partsCollection" => [
                "name"    => "配件领用",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => '确认',
                "cancel"  => '取消',
                "print"   => "打印",
            ],
            "partsReturn"     => [
                "name"    => "配件退库",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => '确认',
                "cancel"  => '取消',
                "print"   => "打印",
            ],
            "partsInventory"  => [
                "name"    => "配件盘存",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => '确认',
                "cancel"  => '取消',
                "export"  => "excel 导出",
            ],
        ],
        '可视化看板' => [
            "equipmentKanban"  => [
                "name" => "设备看板",
                "see"  => "查询",
            ],
        ],
    ],
];

$powerAll["工艺装备"] = [
    '模具' => [
        '模具基础档案' => [
            "mold"            => [
                "name"   => "模具",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "state"  => "启停用",
                "import" => "excel 导入",
                "export" => "excel 导出",
            ],
            "moldPortfolio"   => [
                "name" => "模具产品组合",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
        ],
        '模具业务' => [
            "moldInStock"     => [
                "name"    => "模具入库",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => '确认',
                "cancel"  => '取消',
                "print"   => "打印",
            ],
            "moldReturn"      => [
                "name"   => "模具领用归还",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "return" => "归还",
            ],
            "moldMaintenance" => [
                "name" => "模具保养维修",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "moldChange"      => [
                "name"    => "模具转换",
                "see"     => "查询",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
            ],
            "moldReduction"   => [
                "name"   => "模具核减",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "export" => "excel 导出",
            ],
        ],
    ],
];

$powerAll["研发管理"] = [
    '物料管理' => [
        '物料档案' => [
            'orderTag'       => [
                "name" => "物料标签",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "material"       => [
                "name"      => "物料档案",
                "see"       => "查询",
                "edit"      => "编辑",
                'editPrice' => '编辑价格',
                "del"       => "删除",
                "import"    => "excel 导入",
                "export"    => "excel 导出",
                'fileAdd'   => '附件添加',
                'fileDel'   => '附件删除',
            ],
            "materialDetail" => [
                "name"   => "物料明细",
                "see"    => "查询",
                "print"  => "打印",
                "export" => "excel 导出",
            ],
        ],
        'BOM' => [
            "bom"            => [
                "name"   => "BOM表",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "import" => "excel 导入",
                "export" => "excel 导出",
            ],
        ],
    ],
    '工艺工序' => [
        '工艺工序档案' => [
            "process"     => [
                "name"   => "工序档案",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "import" => "excel 导入",
            ],
            "routing"     => [
                "name"   => "工艺路线",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "import" => "excel 导入",
            ],
        ],
    ],
];

// 财务管理
$powerAll["财务管理"] = [
    '财务会计' => [
        '凭证'      => [
            'voucherEdit'     => [
                "name"  => "新增凭证",
                "see"   => "查询",
                "edit"  => "编辑",
                "print" => "打印",
            ],
            'businessVoucher' => [
                "name" => "业务凭证",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            'voucher'         => [
                "name"   => "查看凭证",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "audit"  => "审核",
                "sign"   => "签字",
                "record" => "记账",
                "cancel" => "作废",
                "print"  => "打印",
                "import" => "excel 导入",
                "export" => "excel 导出",
            ],

            'voucherStatistics' => [
                "name"   => "凭证汇总",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            'accountElecFile'   => [
                "name" => "会计电子档案",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
        ],
        '账簿'      => [
            "accountDetails"      => [
                "name"   => "明细账",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "accountTotal"        => [
                "name"   => "总账",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "subjectBalance"      => [
                "name"   => "科目余额表",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "subjectAssetDetails" => [
                "name"   => "科目辅助明细账",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "subjectAssetBalance" => [
                "name"   => "科目辅助余额表",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "multiColumnAccount"  => [
                "name"   => "多栏账",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "sequentialAccount"   => [
                "name"   => "序时账",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
        ],
        '核算项目明细账' => [
            "projectDetails"           => [
                "name"   => "客户明细账",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "projectDetailsSupplier"   => [
                "name"   => "供应商明细账",
                "see"    => "查询",
                "export" => "excel 导出",
                "cla"    => "projectDetails",
                "fun"    => "supplier",
            ],
            "projectDetailsStaff"      => [
                "name"   => "员工明细账",
                "see"    => "查询",
                "export" => "excel 导出",
                "cla"    => "projectDetails",
                "fun"    => "staff",
            ],
            "projectDetailsDepartment" => [
                "name"   => "部门明细账",
                "see"    => "查询",
                "export" => "excel 导出",
                "cla"    => "projectDetails",
                "fun"    => "department",
            ],
            "projectDetailsProject"    => [
                "name"   => "项目明细账",
                "see"    => "查询",
                "export" => "excel 导出",
                "cla"    => "projectDetails",
                "fun"    => "project",
            ],
            "projectDetailsMaterial"   => [
                "name"   => "存货明细账",
                "see"    => "查询",
                "export" => "excel 导出",
                "cla"    => "projectDetails",
                "fun"    => "material",
            ],
            "projectDetailsCash"       => [
                "name"   => "现金流明细账",
                "see"    => "查询",
                "export" => "excel 导出",
                "cla"    => "projectDetails",
                "fun"    => "cash",
            ],
        ],
        '核算项目余额表' => [
            "projectBalance"           => [
                "name"   => "客户余额表",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "projectBalanceSupplier"   => [
                "name"   => "供应商余额表",
                "see"    => "查询",
                "export" => "excel 导出",
                "cla"    => "projectBalance",
                "fun"    => "supplier",
            ],
            "projectBalanceStaff"      => [
                "name"   => "员工余额表",
                "see"    => "查询",
                "export" => "excel 导出",
                "cla"    => "projectBalance",
                "fun"    => "staff",
            ],
            "projectBalanceDepartment" => [
                "name"   => "部门余额表",
                "see"    => "查询",
                "export" => "excel 导出",
                "cla"    => "projectBalance",
                "fun"    => "department",
            ],
            "projectBalanceProject"    => [
                "name"   => "项目余额表",
                "see"    => "查询",
                "export" => "excel 导出",
                "cla"    => "projectBalance",
                "fun"    => "project",
            ],
            "projectBalanceMaterial"   => [
                "name"   => "存货余额表",
                "see"    => "查询",
                "export" => "excel 导出",
                "cla"    => "projectBalance",
                "fun"    => "material",
            ],
            "projectBalanceCash"       => [
                "name"   => "现金流余额表",
                "see"    => "查询",
                "export" => "excel 导出",
                "cla"    => "projectBalance",
                "fun"    => "cash",
            ],
        ],
        '报表'      => [
            'assetDebt'       => [
                'name'   => '资产负债表',
                'see'    => '查询',
                "export" => "excel 导出",
                "print"  => "打印",
            ],
            'profitIncome'    => [
                'name'   => '利润表',
                'see'    => '查询',
                "export" => "excel 导出",
                "print"  => "打印",
            ],
            'profitQuarterly' => [
                'name'   => '利润表季报',
                'see'    => '查询',
                "export" => "excel 导出",
                "print"  => "打印",
            ],
            'cashFlow'        => [
                'name'   => '现金流量表',
                'see'    => '查询',
                "export" => "excel 导出",
                "print"  => "打印",
            ],
            'cashQuarterly'   => [
                'name'   => '现金流量表季报',
                'see'    => '查询',
                "export" => "excel 导出",
                "print"  => "打印",
            ],
        ],
        "结账"      => [
            "terminalTransfer"           => [
                "name" => "期末结转",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            /*"carryover"          => [
                "name" => "期末结转系统模板",
                "see"  => "查询",
                "edit" => "编辑",
            ],
            "carryoverCustomize" => [
                "name" => "期末结转自定义模板",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
                "cla"  => "carryover",
                "fun"  => "customize",
            ],
            "checkout"           => [
                "name" => "结账",
                "see"  => "查询",
                "edit" => "编辑",
            ],
            "antiCheckout"       => [
                "name" => "反结账",
                "see"  => "查询",
                "edit" => "编辑",
                "cla"  => "checkout",
                "fun"  => "antiCheckout",
            ],*/
            "checkoutFiling"     => [
                "name"    => "归档",
                "see"     => "查询",
                'archive' => '归档',
                "del"     => "删除",
            ],
        ],
        "资金"      => [
            "cashBook"            => [
                "name"   => "现金日记账",
                "see"    => "查询",
                "edit"   => "编辑",
                'audit'  => '审核',
                "del"    => "删除",
                "print"  => "打印",
                "import" => "excel 导入",
                "export" => "excel 导出",
            ],
            "bankBook"            => [
                "name"   => "银行日记账",
                "see"    => "查询",
                "edit"   => "编辑",
                'audit'  => '审核',
                "del"    => "删除",
                "print"  => "打印",
                "import" => "excel 导入",
                "export" => "excel 导出",
            ],
            "innerTransfer"       => [
                "name"   => "内部转账",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "print"  => "打印",
                "import" => "excel 导入",
                "export" => "excel 导出",
            ],
            "financialReport"     => [
                "name"   => "账户资金报表",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "financialReportBank" => [
                "name"   => "收支类型资金报表",
                "see"    => "查询",
                "export" => "excel 导出",
                "cla"    => "financialReport",
                "fun"    => "bank",
            ],
            "generalAccount"      => [
                "name"   => "核对总账",
                "see"    => "查询",
                "print"  => "打印",
                "export" => "excel 导出",
            ],
        ],
        "发票"      => [
            "openInvoice"    => [
                "name"   => "开票",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "print"  => "打印",
                "export" => "excel 导出",
            ],
            "saleInvoice"    => [
                "name"   => "销项发票",
                "see"    => "查询自己",
                "seeAll" => "查询全部",
                "edit"   => "编辑",
                "del"    => "删除",
                "export" => "excel 导出",
                "import" => "excel 导入",
            ],
            "receiveInvoice" => [
                "name"   => "收票",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "print"  => "打印",
                "export" => "excel 导出",
            ],

            "incomeInvoice" => [
                "name"   => "进项发票",
                "see"    => "查询自己",
                "seeAll" => "查询全部",
                "edit"   => "编辑",
                "del"    => "删除",
                "export" => "excel 导出",
                "import" => "excel 导入",
            ],
            //		"invoiceIn"  => [
            //			"name"   => "进项发票",
            //			"see"    => "查询自己",
            //			"seeAll" => "查询全部",
            //			"edit"   => "编辑",
            //			"del"    => "删除",
            //		],
            //		"invoiceOut" => [
            //			"name"   => "销项发票",
            //			"see"    => "查询自己",
            //			"seeAll" => "查询全部",
            //			"edit"   => "编辑",
            //			"del"    => "删除",
            //		],
        ],
    ],
    '工资'   => [
        "工资" => [
            "salary"           => [
                "name"   => "工资表",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "export" => "excel 导出",
            ],
            "salaryStatistics" => [
                "name" => "工资统计",
                "see"  => "查询",
            ],

        ],
    ],
    '固定资产' => [
        "资产申购" => [
            "assetApply"          => [
                "name"   => "资产申购",
                "see"    => "查询自己",
                "seeAll" => "查询全部",
                "edit"   => "编辑",
                "del"    => "删除",
            ],
        ],
        "资产卡片" => [
            "assetManagement"     => [
                "name"   => "资产登记",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "import" => "excel 导入",
                "export" => "excel 导出",
            ],
            "assetList"           => [
                "name"   => "资产卡片",
                "see"    => "查询",
                "export" => "excel 导出",
                "print"  => "打印条码",
            ],
        ],
        "领用归还" => [
            "assetUse"            => [
                "name"   => "闲置资产申领",
                "see"    => "查询自己",
                "seeAll" => "查询全部",
                "edit"   => "编辑",
                "del"    => "删除",
            ],
            "assetReturn"         => [
                "name" => "资产归还",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
        ],
        "资产处置" => [
            "assetCut"            => [
                "name"   => "资产处置",
                "see"    => "查询自己",
                "seeAll" => "查询全部",
                "edit"   => "编辑",
                "del"    => "删除",
            ],
            "assetCutMx"          => [
                "name"   => "资产处置明细",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
        ],
        "资产盘点" => [
            "assetInventory"      => [
                "name"   => "资产盘点",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "export" => "excel 导出",
            ],
        ],
        "折旧计提" => [
            "assetDepreciation"   => [
                "name" => "计提折旧",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "assetDepreciationMx" => [
                "name"   => "资产折旧明细",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
        ],
        "报表" => [
            "assetTotal"          => [
                "name"   => "资产折旧按部门汇总",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "assetTotalType"      => [
                "name"   => "资产折旧按类别汇总",
                "see"    => "查询",
                "export" => "excel 导出",
                "cla"    => "assetTotal",
                "fun"    => "waitReport",
            ],
        ],
    ],
    '费用'   => [
        "费用申请" => [
            "feeApply" => [
                "name"   => "费用申请记录",
                "see"    => "查询自己",
                "seeAll" => "查询全部",
                "edit"   => "编辑",
                "del"    => "删除",
            ],
        ],
        "费用报销" => [
            "cost"     => [
                "name"   => "费用报销记录",
                "see"    => "查询自己",
                "seeAll" => "查询全部",
                "edit"   => "编辑",
                "del"    => "删除",
                'pay'    => '拨付',
            ],
        ],
        "付款" => [
            "payment"  => [
                "name"   => "付款申请记录",
                "see"    => "查询自己",
                "seeAll" => "查询全部",
                "edit"   => "编辑",
                "del"    => "删除",
                'pay'    => '拨付',
            ],
        ],
        "收款" => [
            "income"   => [
                "name" => "收款登记",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
        ],
    ],
    '往来账'  => [
        "业务单据" => [
//            "inReceipt"       => [
//                "name"    => "收款单",
//                "see"     => "查询自己",
//                "seeAll"  => "查询全部",
//                "edit"    => "编辑",
//                "del"     => "删除",
//                "confirm" => "确认",
//                "cancel"  => "撤回",
//                "print"   => "打印",
//            ],
//            "payReceipt"      => [
//                "name"    => "付款单",
//                "see"     => "查询自己",
//                "seeAll"  => "查询全部",
//                "edit"    => "编辑",
//                "del"     => "删除",
//                "confirm" => "确认",
//                "cancel"  => "撤回",
//                "print"   => "打印",
//            ],
            "writeOffOrder"   => [
                "name"    => "核销单",
                "see"     => "查询自己",
                "seeAll"  => "查询全部",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
            ],
            "otherInReceipt"  => [
                "name"    => "收入单",
                "see"     => "查询自己",
                "seeAll"  => "查询全部",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
                "cancel"  => "撤销",
            ],
            "otherOutReceipt" => [
                "name"    => "费用单",
                "see"     => "查询自己",
                "seeAll"  => "查询全部",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
                "cancel"  => "撤销",
            ],
            "transferReceipt" => [
                "name"    => "转账单",
                "see"     => "查询自己",
                "seeAll"  => "查询全部",
                "edit"    => "编辑",
                "del"     => "删除",
                "confirm" => "确认",
            ],
        ],
        "统计"   => [
            "currentUnitBalance"     => [
                "name"   => "往来单位余额表",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "currentUnitMx"          => [
                "name"   => "客户一览表",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "currentUnitMxSupplier"  => [
                "name"   => "供应商一览表",
                "see"    => "查询",
                "export" => "excel 导出",
                "cla"    => "currentUnitMx",
                "fun"    => "supplier",
            ],
            "clientReconciliation"   => [
                "name"   => "客户对账单",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "supplierReconciliation" => [
                "name"   => "供应商对账单",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
//            "incomeDetails"          => [
//                "name"   => "应收账款明细表",
//                "see"    => "查询",
//                "export" => "excel 导出",
//            ],
//            "payDetails"             => [
//                "name"   => "应付账款明细表",
//                "see"    => "查询",
//                "export" => "excel 导出",
//            ],
            "incomeAgeAnalysis"      => [
                "name"   => "应收账龄分析",
                "see"    => "查询",
                "export" => "excel 导出",
                "print"  => '打印',
            ],
            "payAgeAnalysis"         => [
                "name"   => "应付账龄分析",
                "see"    => "查询",
                "export" => "excel 导出",
                "print"  => '打印',
            ],
            "otherDetails"           => [
                "name"   => "其他收支明细表",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            //		"accountBalance"         => [
            //			"name"   => "银行账户余额",
            //			"see"    => "查询",
            //			"export" => "excel 导出",
            //		],
            //		"profit"                 => [
            //			"name"   => "收支平衡",
            //			"see"    => "查询自己",
            //			"seeAll" => "查询全部",
            //			"export" => "excel 导出",
            //		],
        ],
    ],
    '设置'   => [
        "基础设置" => [

            "subject"                => [
                "name"   => "科目",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "import" => "excel 导入",
                "export" => "excel 导出",
            ],
            "initialization"         => [
                "name"   => "期初",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "import" => "excel 导入",
                "export" => "excel 导出",
            ],
            'voucherWord'            => [
                "name" => "凭证字",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "currency"               => [
                "name" => "币别",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            'voucherModel'           => [
                "name" => "凭证模板",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            'businessVoucherSetting' => [
                "name" => "业务凭证设置",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "account"                => [
                "name" => "现金账户",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "accountBank"            => [
                "name" => "银行存款账户",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
                "cla"  => "account",
                "fun"  => "bank",
            ],
        ],
        '辅助核算' => [
            "assistAccount"           => [
                "name" => "客户辅助核算",
                "see"  => "查询",
                "cla"  => "clientProfile",
                "fun"  => "home",
            ],
            "assistAccountSupplier"   => [
                "name" => "供应商辅助核算",
                "see"  => "查询",
                "cla"  => "supplier",
                "fun"  => "home",
            ],
            "assistAccountStaff"      => [
                "name" => "员工辅助核算",
                "see"  => "查询",
                "cla"  => "staffProfiles",
                "fun"  => "home",
            ],
            "assistAccountDepartment" => [
                "name" => "部门辅助核算",
                "see"  => "查询",
                "cla"  => "department",
                "fun"  => "home",
            ],
            "project"                 => [
                "name" => "项目辅助核算",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "assistAccountMaterial"   => [
                "name" => "存货辅助核算",
                "see"  => "查询",
                "cla"  => "material",
                "fun"  => "home",
            ],
            "cash"                    => [
                "name" => "现金流辅助核算",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
        ]
    ],
    "应收" => [
        "销售报损单" => [
            "saleSendOrderLose" => [
                "name" => "销售报损单",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
        ],
        "销项发票" => [
            "saleSendOrderInvoice" => [
                "name" => "销项发票",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
        ],
        "收款单" => [
            "inReceipt" => [
                "name" => "收款单",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
        ],
        "开票收款明细" => [
            "incomeDetails" => [
                "name" => "开票收款明细",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
        ],
    ],
    "应付" => [
        "采购发票"=> [
            "purchaseInvoice" => [
                "name" => "采购发票",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
        ],
        "付款单"=> [
            "payReceipt" => [
                "name" => "付款单",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
        ],
        "发票付款明细"=> [
            "payDetails" => [
                "name" => "发票付款明细",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
        ],
    ],
];

// 个人中心
$powerAll["个人中心"] = [
    '我的' => [
        "个人信息"   => [
            "my"       => [
                "name"         => "个人档案",
                "see"          => "查询",
                'templateEdit' => '导入导出模板编辑',
                'templateDel'  => '导入导出模板删除',
            ],
            "workSign" => [
                "name"   => "我的考勤",
                "see"    => "查询自己",
                "seeAll" => "查询全部",
            ],
        ],
        "我的待办"   => [
            "backlog"          => [
                "name" => "待处理",
                "see"  => "查询自己",
            ],
            "backlogProcessed" => [
                "name" => "已处理",
                "see"  => "查询自己",
                "cla"  => "backlog",
                "fun"  => "processed",
            ],
        ],
        "我的消息"   => [
            "message"          => [
                "name" => "待阅",
                "see"  => "查询自己",
            ],
            "messageProcessed" => [
                "name" => "已阅",
                "see"  => "查询自己",
                "cla"  => "message",
                "fun"  => "processed",
            ],
        ],
        "我的审批"   => [
            "initiateApproval" => [
                "name" => "发起审批",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "myInitiated"      => [
                "name" => "我发起的",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "myApproved"       => [
                "name" => "我审批的",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "notifyMe"         => [
                "name" => "抄送我的",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
        ],
        "我的考试"   => [
            "beTested" => [
                "name" => "待考试",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "tested"   => [
                "name" => "已考试",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
        ],
        "我的工作汇报" => [
            "workReportDay"   => [
                "name" => "日报",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "workReportWeek"  => [
                "name" => "周报",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "workReportMonth" => [
                "name" => "月报",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
        ],

    ],
    '公共' => [
        "通讯录" => [
            "contactStaff" => [
                "name"   => "员工通讯录",
                "see"    => "查询",
                "export" => "excel 导出",
            ],
            "contacts"     => [
                "name" => "公共通讯录",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
        ],
    ]
];

$powerAll["应用中心"] = [
    '权限控制' => [
        '账套' => [
            "company" => [
                "name"   => "账套",
                "see"    => "查询",
                "edit"   => "编辑",
                "del"    => "删除",
                "delAll" => "清空账套(除设置中的数据)",
            ],
        ],
        '角色' => [
            "role" => [
                "name"  => "角色管理",
                "see"   => "查询",
                "edit"  => "增改删",
                "power" => "权限设置",
            ],
        ],
        '用户' => [
            "user" => [
                "name"  => "用户管理",
                "see"   => "查询",
                "edit"  => "编辑",
                "del"   => "删除",
                "state" => "启停用",
            ],
        ]
    ],
    '基础设置' => [
        "流程引擎"  => [
            "examine" => [
                "name" => "流程设置",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],

        ],
        "消息提醒"  => [
            "reminderSetting" => [
                "name" => "消息提醒设置",
                "see"  => "查询",
                "edit" => "编辑",
            ],
        ],
        "选项设置"  => [
            "optionSetting" => [
                "name" => "选项设置",
                "see"  => "查询",
                "edit" => "编辑",
            ],
        ],
        "个性化设置" => [
            "printTemplate" => [
                "name"  => "打印设置",
                "see"   => "查询",
                "edit"  => "编辑",
                "del"   => "删除",
                "state" => "启停用",
            ],
            "codeTemplate"  => [
                "name"  => "编码设置",
                "see"   => "查询",
                "edit"  => "编辑",
                "del"   => "删除",
                "state" => "启停用",
            ],
        ],
        "系统设置"  => [
            "log"        => [
                "name"   => "系统日志",
                "see"    => "查询自己",
                "seeAll" => "查询全部",
                "del"    => "删除日志",
            ],
            "dictionary" => [
                "name" => "数据字典",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
            "prompt"     => [
                "name" => "系统提示",
                "see"  => "查询",
                "edit" => "编辑",
            ],
            "para"       => [
                "name" => "系统参数",
                "see"  => "查询",
                "edit" => "编辑",
            ],
            "img"        => [
                "name" => "图片设置",
                "see"  => "查询",
                "edit" => "编辑",
                "del"  => "删除",
            ],
        ],
    ],
    '期初设置' => [
        '销售期初'  => [
            "clientDefault"    => [
                "name"   => "客户期初设置",
                "see"    => "查询",
                "del"    => "删除",
                'import' => 'excel导入',
                "export" => "excel导出",
                "cla"    => "inventoryDefault",
                "fun"    => "client",
            ],
        ],
        '采购期初'  => [
            "supplierDefault"  => [
                "name"   => "供应商期初设置",
                "see"    => "查询",
                "del"    => "删除",
                'import' => 'excel导入',
                "export" => "excel导出",
                "cla"    => "inventoryDefault",
                "fun"    => "supplier",
            ],
        ],
        '库存期初'  => [
            "inventoryDefault" => [
                "name"   => "库存期初设置",
                "see"    => "查询",
                "del"    => "删除",
                "edit"   => "编辑",
                'import' => 'excel导入',
                "export" => "excel导出",
            ],
        ],
    ],
];
/*****************************************************/

// 定义权限-繁体
$powerAllTC = [];
$powerAllTC["人力資源"] = [
    "組織架構" => [
        '業務單據' => [
            "department"    => [
                "name" => "部門",
                "see"  => "查詢",
                "edit" => "增改刪",
            ],
            "job"           => [
                "name"   => "職位",
                "see"    => "查詢",
                "edit"   => "編輯",
                "del"    => "刪除",
                "import" => "excel 導入",
                "export" => "excel 導出",
            ],
            "staffProfiles" => [
                "name"          => "員工檔案",
                "see"           => "查詢",
                "edit"          => "編輯",
                "del"           => "刪除",
                "audit"         => "復核",
                "import"        => "excel 導入",
                "export"        => "excel 導出",
                "interviewEdit" => "新增評價記錄",
                "interviewDel"  => "刪除評價記錄",
            ],
        ]
    ],
    "招聘"   => [
        '業務單據' => [
            "recruitment"     => [
                "name"   => "招聘需求",
                "see"    => "查詢自己",
                "seeAll" => "查詢全部",
                "edit"   => "編輯",
                "del"    => "刪除",
            ],
            "recruitmentPlan" => [
                "name"   => "招聘計劃",
                "see"    => "查詢自己",
                "seeAll" => "查詢全部",
                "edit"   => "編輯",
                "del"    => "刪除",
            ],
            "talentPool"      => [
                "name"          => "人才庫",
                "see"           => "查詢",
                "edit"          => "編輯",
                "del"           => "刪除",
                "interviewEdit" => "新增面試記錄",
                "interviewDel"  => "刪除面試記錄",
                "newFollow"     => "新增跟進記錄",
                "delFollow"     => "刪除跟進記錄",
                "import"        => "excel 導入",
                "export"        => "excel 導出",
            ],
        ]

    ],
    "勞動關係" => [
        '業務單據' => [
            "staffEntryRecord" => [
                "name" => "入職記錄",
                "see"  => "查詢",
                "edit" => "編輯",
                "del"  => "刪除",
            ],
            "staffFormal"      => [
                "name"   => "轉正記錄",
                "see"    => "查詢自己",
                "seeAll" => "查詢全部",
                "edit"   => "編輯",
                "del"    => "刪除",
            ],
            "jobApply"         => [
                "name"   => "調岗調薪記錄",
                "see"    => "查詢自己",
                "seeAll" => "查詢全部",
                "edit"   => "編輯",
                "del"    => "刪除",
            ],
            "staffInjury"      => [
                "name"   => "工傷管理",
                "see"    => "查詢自己",
                "seeAll" => "查詢全部",
                "edit"   => "編輯",
                "del"    => "刪除",
            ],
            "staffStayRecord"  => [
                "name"    => "停薪留職",
                "see"     => "查詢自己",
                "seeAll"  => "查詢全部",
                "edit"    => "編輯",
                "del"     => "刪除",
                "confirm" => "確認停薪",
            ],
            "staffQuitRecord"  => [
                "name"    => "離職記錄",
                "see"     => "查詢自己",
                "seeAll"  => "查詢全部",
                "edit"    => "編輯",
                "del"     => "刪除",
                "confirm" => "確認離職",
            ],
            "workContract"     => [
                "name" => "勞動合同",
                "see"  => "查詢",
                "edit" => "編輯",
                "del"  => "刪除",
            ],
        ],
        '社會保險' => [
            "workInsure"          => [
                "name" => "待參保",
                "see"  => "查詢",
                "edit" => "編輯",
                "del"  => "刪除",
            ],
            "workInsureSigning"   => [
                "name" => "參保中",
                "see"  => "查詢",
                "cla"  => "workInsure",
                "fun"  => "signing",
            ],
            "workInsureEffecting" => [
                "name" => "待停保",
                "see"  => "查詢",
                "cla"  => "workInsure",
                "fun"  => "effecting",
            ],
            "workInsureEnding"    => [
                "name" => "已停保",
                "see"  => "查詢",
                "cla"  => "workInsure",
                "fun"  => "ending",
            ],
        ]
    ],
    "培訓"   => [
        '業務單據' => [
            "trainingPlan"   => [
                "name"   => "培訓計劃",
                "see"    => "查詢自己",
                "seeAll" => "查詢全部",
                "edit"   => "編輯",
                "del"    => "刪除",
                "import" => "excel 導入",
                "export" => "excel 導出",
            ],
            "trainingRecord" => [
                "name" => "培訓記錄",
                "see"  => "查詢",
                "edit" => "編輯",
                "del"  => "刪除",
            ],
            "regulation"     => [
                "name"   => "規章制度",
                "see"    => "查詢",
                "seeAll" => "查詢全部",
            ],
        ]
    ],
    "考試"   => [
        '題庫'   => [
            "topicLibrary"    => [
                "name"   => "題庫管理",
                "see"    => "查詢",
                "edit"   => "編輯",
                "del"    => "刪除",
                'import' => "excel 導入",
                'export' => "excel 導出"
            ],
            "topicManagement" => [
                "name" => "試題管理",
                "see"  => "查詢",
                "edit" => "編輯",
                "del"  => "刪除",
            ],
        ],
        '試卷管理' => [
            "paperManagement" => [
                "name"   => "試卷",
                "see"    => "查詢",
                "edit"   => "編輯",
                "del"    => "刪除",
                "cancel" => "撤回",
            ],
            "examRecord"      => [
                "name"   => "考試記錄",
                "see"    => "查詢",
                "edit"   => "編輯",
                "del"    => "刪除",
                "export" => "excel 導出",
            ],
        ]

    ],
    "績效"   => [
        '業務單據' => [
            "performanceRule"  => [
                "name" => "績效規則",
                "see"  => "查詢",
                "edit" => "編輯",
                "del"  => "刪除",
            ],
            "performanceAim"   => [
                "name"   => "績效目標",
                "see"    => "查詢",
                "edit"   => "編輯",
                "del"    => "刪除",
                "import" => "excel 導入",
                "export" => "excel 導出",
            ],
            "performanceScore" => [
                "name"   => "績效評分",
                "see"    => "查詢自己",
                "seeAll" => "查詢全部",
                "edit"   => "編輯",
                "del"    => "刪除",
            ],
        ]
    ],
    "工作匯報" => [
        '業務單據' => [
            "dayRecord"   => [
                "name" => "日報記錄",
                "see"  => "查詢",
            ],
            "weekRecord"  => [
                "name" => "周報記錄",
                "see"  => "查詢",
            ],
            "monthRecord" => [
                "name" => "月報記錄",
                "see"  => "查詢",
            ],
        ]

    ],
    "考勤"   => [
        '工作日設置' => [
            "workDay" => [
                "name" => "工作日設置",
                "see"  => "查詢",
                "edit" => "編輯",
                "del"  => "刪除",
            ],
            "holiday" => [
                "name" => "節假日設置",
                "see"  => "查詢",
                "edit" => "編輯",
                "del"  => "刪除",
            ],
        ],
        '考勤規則'  => [
            "clockRule" => [
                "name" => "考勤規則",
                "see"  => "查詢",
                "edit" => "編輯",
                "del"  => "刪除",
            ],
            "scheduler" => [
                "name"   => "排班表",
                "see"    => "查詢",
                "edit"   => "編輯",
                "del"    => "刪除",
                "export" => "excel 導出",
            ],
        ],
        '考勤記錄'  => [
            "workSignAdd"     => [
                "name"   => "補卡記錄",
                "see"    => "查詢自己",
                "seeAll" => "查詢全部",
                "edit"   => "編輯",
                "del"    => "刪除",
            ],
            "work"            => [
                "name"   => "請假記錄",
                "see"    => "查詢自己",
                "seeAll" => "查詢全部",
                "edit"   => "編輯",
                "del"    => "刪除",
            ],
            "workOut"         => [
                "name"   => "外出記錄",
                "see"    => "查詢自己",
                "seeAll" => "查詢全部",
                "edit"   => "編輯",
                "del"    => "刪除",
            ],
            "bussinessTrip"   => [
                "name"   => "出差記錄",
                "see"    => "查詢自己",
                "seeAll" => "查詢全部",
                "edit"   => "編輯",
                "del"    => "刪除",
            ],
            "workAdd"         => [
                "name"   => "加班記錄",
                "see"    => "查詢自己",
                "seeAll" => "查詢全部",
                "edit"   => "編輯",
                "del"    => "刪除",
                "export" => "excel 導出",
            ],
            "clockStatistics" => [
                "name"   => "考勤明細",
                "see"    => "查詢",
                "import" => "excel 導入",
                "export" => "excel 導出",
                "del" => "刪除",
            ],
            "clockCollect"    => [
                "name"   => "考勤匯總",
                "see"    => "查詢",
                "cla"    => "clockStatistics",
                "fun"    => "collect",
                "export" => "excel 導出",
            ],
        ],
    ],
    "薪酬"   => [
        '薪酬規則' => [
            "salaryRule" => [
                "name" => "薪酬規則",
                "see"  => "查詢",
                "edit" => "編輯",
                "del"  => "刪除",
            ],
        ],
        '薪酬核算' => [
            "workSignCheck"        => [
                "name" => "考勤核算-待核算",
                "see"  => "查詢",
                "edit" => "核算",
            ],
            "checkRecord"          => [
                "name"   => "考勤核算-已核算",
                "see"    => "查詢",
                "cla"    => "workSignCheck",
                "fun"    => "checkRecord",
                "del"    => "撤銷",
                "export" => "excel 導出",
            ],
            "insure"               => [
                "name"   => "社保核算",
                "see"    => "查詢",
                "edit"   => "編輯",
                "del"    => "刪除",
                "import" => "excel 導入",
                "export" => "excel 導出",
            ],
            "providentFund"        => [
                "name" => "公積金扣款",
                "see"  => "查詢",
                "edit" => "編輯",
            ],
            "providentFundRecord"  => [
                "name" => "公積金記錄",
                "see"  => "查詢",
                "del"  => "刪除",
                "cla"  => "providentFund",
                "fun"  => "deduction",
            ],
            "personalTax"          => [
                "name"   => "個稅記錄",
                "see"    => "查詢",
                "del"    => "刪除",
                "import" => "excel 導入",
            ],
//            "personalTaxDeduction" => [
//                "name" => "個稅扣款",
//                "see"  => "查詢",
//                "edit" => "編輯",
//                "cla"  => "personalTax",
//                "fun"  => "deduction",
//            ],
            "paySlip"              => [
                "name"   => "工資條",
                "see"    => "查詢",
                "edit"   => "編輯",
                "del"    => "刪除",
                "pay"    => "撥付",
                "export" => "excel 導出",
                'print'  => '打印',
            ],
        ]
    ],

    "勞務派遣" => [
        '業務單據' => [
            "laborCompany"   => [
                "name"      => "派遣單位",
                "see"       => "查詢",
                "edit"      => "編輯",
                "del"       => "刪除",
                "import"    => "excel 導入",
                "export"    => "excel 導出",
                'staffEdit' => '聯絡人添加',
                'staffDel'  => '聯絡人刪除',
                'fileAdd'   => '附件添加',
                'fileDel'   => '附件刪除',
            ],
            "laborAgreement" => [
                "name" => "勞務派遣協議",
                "see"  => "查詢",
                "edit" => "編輯",
                "del"  => "刪除",
            ],
            "labor"          => [
                "name"   => "勞務名冊",
                "see"    => "查詢",
                "edit"   => "編輯",
                "export" => "excel 導出",
            ],
            "laborSalary"    => [
                "name" => "勞動報酬清單",
                "see"  => "查詢",
                "edit" => "編輯",
                "del"  => "刪除",
            ],
            "laborSettle"    => [
                "name"   => "派遣結算",
                "see"    => "查詢",
                "export" => "excel 導出",
            ],
        ]
    ],
    "報表"   => [
        '統計圖' => [
            'personnelStructure'   => [
                "name" => "人員結構",
                "see"  => "查詢",
            ],
            'personnelDynamics'    => [
                "name" => "人員動態",
                "see"  => "查詢",
            ],
            'attendanceStatistics' => [
                "name" => "考勤統計",
                "see"  => "查詢",
            ],
            'salaryStatistics'     => [
                "name" => "薪酬統計",
                "see"  => "查詢",
            ],
            'recruitmentStatistics' => [
                "name" => "招聘統計",
                "see"  => "查詢",
            ],
            'trainingStatistics' => [
                "name" => "培訓統計",
                "see"  => "查詢",
            ],
        ],
        '報表'   => [
            "reportList"        => [
                "name"   => "報表列表",
                "see"    => "查詢",
                "edit"   => "編輯",
                "del"    => "刪除",
                "export" => "excel 導出",
                'print'  => '打印',
            ],
            "staffAchievements" => [
                "name" => "人員績效",
                "see"  => "查詢",
            ],
        ],
    ],
    "系統"   => [
        '參數配置' => [
            "systemConfig" => [
                "name" => "系統配置",
                "see"  => "查詢",
                "edit" => "編輯",
            ],
        ],
        '日志管理' => [
            "systemLog" => [
                "name" => "日誌",
                "see"  => "查詢",
            ],
        ],
        '流程設計' => [
            "flowChart" => [
                "name" => "流程圖",
                "see"  => "查詢",
                "edit" => "編輯",
            ],
        ],
    ],
];

$powerAllTC["行政管理"] = [
    "物资"  => [
        '業務單據' => [
            "resource"         => [
                "name"   => "物資檔案",
                "see"    => "查詢",
                "edit"   => "編輯",
                "del"    => "刪除",
                "import" => "excel 導入",
                "export" => "excel 導出",
            ],
            "materialPurchase" => [
                "name"   => "物資採購申請",
                "see"    => "查詢自己",
                "seeAll" => "查詢所有",
                "edit"   => "編輯",
                "del"    => "刪除",
            ],
            "materialIn"       => [
                "name"    => "物資入庫",
                "see"     => "查詢",
                "edit"    => "編輯",
                "del"     => "刪除",
                'confirm' => '確認',
            ],
            "materialOut"      => [
                "name"    => "物資領用",
                "see"     => "查詢自己",
                "seeAll"  => "查詢全部",
                "edit"    => "編輯",
                "del"     => "刪除",
                'confirm' => '確認',
            ],
        ]

    ],
    "車輛"  => [
        '業務單據' => [
            "driver"    => [
                "name"   => "駕駛員檔案",
                "see"    => "查詢",
                "edit"   => "編輯",
                "del"    => "刪除",
                "import" => "excel 導入",
                "export" => "excel 導出",
            ],
            "car"       => [
                "name"   => "車輛檔案",
                "see"    => "查詢",
                "edit"   => "編輯",
                "del"    => "刪除",
                "import" => "excel 導入",
                "export" => "excel 導出",
            ],
            "carRecord" => [
                "name"   => "用車記錄",
                "see"    => "查詢自己",
                "seeAll" => "查詢全部",
                "edit"   => "編輯",
                "del"    => "刪除",
            ],
            "carFee"    => [
                "name"   => "車輛費用",
                "see"    => "查詢自己",
                "seeAll" => "查詢所有",
                "export" => "excel 導出",
            ],
        ]
    ],
    "會議室" => [
        '業務單據' => [
            "meeting"       => [
                "name"   => "會議室檔案",
                "see"    => "查詢",
                "edit"   => "編輯",
                "del"    => "刪除",
                "import" => "excel 導入",
                "export" => "excel 導出",
            ],
            "meetingApply"  => [
                "name" => "會議室申請",
                "see"  => "查詢",
            ],
            "meetingRecord" => [
                "name"   => "會議室使用記錄",
                "see"    => "查詢自己",
                "seeAll" => "查詢全部",
                "edit"   => "編輯",
                "del"    => "刪除",
            ],
        ],

    ],
    "合同"  => [
        '業務單據' => [
            "contract" => [
                "name"    => "合同列表",
                "see"     => "查詢自己",
                "seeAll"  => "查詢全部",
                "edit"    => "編輯",
                "del"     => "刪除",
                'archive' => '加入待歸檔',
            ],
        ],
    ],
    "公文" => [
        '公文设置' => [
            "officialDocumentModel" => [
                "name" => "公文模板",
                "see"  => "查詢",
                "edit" => "編輯",
                "del"  => "刪除",
            ],
        ],
        '發文'=>[
            "officialDocumentSend"  => [
                "name"   => "發文-草擬中",
                "see"    => "查詢自己",
                "seeAll" => "查詢全部",
                "edit"   => "編輯",
                "del"    => "刪除",
            ],
            "officialDocumentAudit" => [
                "name"   => "發文-審核中",
                "see"    => "查詢自己",
                "seeAll" => "查詢全部",
                'issued' => '簽發',
                "cla"    => "officialDocumentSend",
                "fun"    => "documentAudit",
            ],
            "officialIssued"        => [
                "name"      => "發文-已簽發",
                "see"       => "查詢自己",
                "seeAll"    => "查詢全部",
                'cancel'    => '撤銷',
                'abandoned' => '廢止',
                'archive'   => '加入待歸檔',
                "cla"       => "officialDocumentSend",
                "fun"       => "issued",
            ],
            "officialRevoke"        => [
                "name"    => "發文-已撤銷",
                "see"     => "查詢自己",
                "seeAll"  => "查詢全部",
                'archive' => '加入待歸檔',
                "cla"     => "officialDocumentSend",
                "fun"     => "revoke",
            ],
            "officialAbolished"     => [
                "name"    => "發文-已廢止",
                "see"     => "查詢自己",
                "seeAll"  => "查詢全部",
                'archive' => '加入待歸檔',
                "cla"     => "officialDocumentSend",
                "fun"     => "abolished",
            ],
            "officialall"           => [
                "name"   => "發文-全部",
                "see"    => "查詢自己",
                "seeAll" => "查詢全部",
                "cla"    => "officialDocumentSend",
                "fun"    => "all",
            ],
        ],
        '收文'=>[
            "officialDocumentGet"   => [
                "name" => "收文-待簽收",
                "see"  => "查詢",
                "edit" => "編輯",
                "del"  => "刪除",
            ],
            "documentGetPending"    => [
                "name" => "收文-待辦理",
                "see"  => "查詢",
                "cla"  => "officialDocumentGet",
                "fun"  => "pending",
            ],
            "documentGetProcess"    => [
                "name" => "收文-辦理中",
                "see"  => "查詢",
                "edit" => "催辦",
                "cla"  => "officialDocumentGet",
                "fun"  => "process",
            ],
            "documentGetCompleted"  => [
                "name"    => "收文-已辦結",
                "see"     => "查詢",
                'archive' => '加入待歸檔',
                "cla"     => "officialDocumentGet",
                "fun"     => "completed",
            ],
            "documentGetAll"        => [
                "name" => "收文-全部",
                "see"  => "查詢",
                "cla"  => "officialDocumentGet",
                "fun"  => "all",
            ],
        ]
    ],
    "證章" => [
        '證照' => [
            "certificate" => [
                "name" => "證照檔案",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "certificateBorrow" => [
                "name" => "證照借用",
                "see" => "查詢自己",
                "seeAll" => "查詢全部",
                "edit" => "編輯",
                "del" => "刪除",
                "borrow" => "借出",
                "copy" => "影印",
                "warrant" => "臨時授權",
            ],
            "certificateBorrowRecord" => [
                "name" => "證照借用記錄",
                "see" => "查詢自己",
                "seeAll" => "查詢全部",
                "cla" => "certificateBorrow",
                "fun" => "borrowed",
            ],
            "certificateBack" => [
                "name" => "證照歸還",
                "see" => "查詢",
                "edit" => "編輯",
            ],
            "certificateBackRecord" => [
                "name" => "證照歸還記錄",
                "see" => "查詢",
                "cla" => "certificateBack",
                "fun" => "borrowed",
            ],
        ],
        '印章' => [
            "seal" => [
                "name" => "印章檔案",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "sealRecord" => [
                "name" => "用章申請記錄",
                "see" => "查詢自己",
                "seeAll" => "查詢全部",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "stampRecord" => [
                "name" => "待用章",
                "see" => "查詢",
                "edit" => "編輯",
            ],
            "stampRecordBorrowed" => [
                "name" => "用章待歸還",
                "see" => "查詢",
                "cla" => "stampRecord",
                "fun" => "borrowed",
            ],
            "stampRecordAll" => [
                "name" => "用章記錄",
                "see" => "查詢",
                "cla" => "stampRecord",
                "fun" => "all",
                "export" => "excel 匯出",
            ],
        ],
    ],
    "檔案" => [
        '業務單據' => [
            "archive" => [
                "name" => "歸檔",
                "see" => "查詢",
                "edit" => "編輯",
            ],
            "dossier" => [
                "name" => "檔案",
                "see" => "查詢自己",
                "seeAll" => "查詢全部",
                "edit" => "編輯",
                "del" => "刪除",
                "import" => "excel 導入",
                "export" => "excel 匯出",
                "print" => "列印",
            ],
            "cabinet" => [
                "name" => "檔案保管",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "archiveBorrow" => [
                "name" => "檔案借閱",
                "see" => "查詢自己",
                "seeAll" => "查詢全部",
                "edit" => "編輯",
                "del" => "刪除",
                "borrow" => "借出",
                "copy" => "影印",
                "warrant" => "臨時授權",
            ],
            "archiveBorrowRecord" => [
                "name" => "檔案借閱紀錄",
                "see" => "查詢自己",
                "seeAll" => "查詢全部",
                "cla" => "archiveBorrow",
                "fun" => "borrowed",
            ],
            "archiveReturn" => [
                "name" => "檔案歸還",
                "see" => "查詢",
                "edit" => "編輯",
            ],
            "archiveReturnRecord" => [
                "name" => "檔案歸還記錄",
                "see" => "查詢",
                "cla" => "archiveReturn",
                "fun" => "borrowed",
            ],
            "archiveRuin" => [
                "name" => "檔案銷毀",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "移除",
                "ruin" => "銷毀",
            ],
            "archiveRuinRecord" => [
                "name" => "檔案銷毀記錄",
                "see" => "查詢",
                "cla" => "archiveRuin",
                "fun" => "ruined",
            ],
        ],

    ],
    "訪客" => [
        '業務單據' => [
            "visitor" => [
                "name" => "來訪登記",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "import" => "excel 導入",
                "export" => "excel 匯出",
            ],
        ],

    ],
    "食堂" => [
        '業務單據' => [
            "diningHall" => [
                "name" => "食堂設定",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "diningMenu" => [
                "name" => "菜色檔案",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "weekMenu" => [
                "name" => "每週食譜",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "mealOrderRecord" => [
                "name" => "報餐記錄",
                "see" => "查詢",
                "export" => "匯出",
            ],
            "dishesCollect" => [
                "name" => "菜餚總結",
                "see" => "查詢",
                "cla" => "mealOrderRecord",
                "fun" => "ruined",
            ],
            "takeMealRecord" => [
                "name" => "取餐記錄",
                "see" => "查詢",
                "export" => "匯出",
            ],
        ],
        '統計' => [
            "mealStatistics" => [
                "name" => "報餐取餐統計",
                "see" => "查詢",
                "export" => "匯出",
            ],
            "peopleStatistics" => [
                "name" => "按人加總",
                "see" => "查詢",
                "export" => "匯出",
                "cla" => "mealStatistics",
                "fun" => "people",
            ],
            "foodStatistics" => [
                "name" => "依餐匯總",
                "see" => "查詢",
                "export" => "匯出",
                "cla" => "mealStatistics",
                "fun" => "food",
            ],
            "canteen" => [
                "name" => "食堂採購紀錄",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
            ],
            "canteenPay" => [
                "name" => "採購付款統計",
                "see" => "查詢",
                "export" => "匯出",
            ]
        ],
        '評價' => [
            "canteenEvaluate" => [
                "name" => "食堂評價",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
        ]
        // "mealRecord" => [
        // "name" => "用餐紀錄",
        // "see" => "查詢",
        // "edit" => "編輯",
        // "del" => "刪除",
        // "import" => "excel 導入",
        // "export" => "excel 匯出",
        // ],
    ],
    "住宿" => [
        '業務單據' => [
            "dormitory" => [
                "name" => "宿舍檔案",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "dormitoryRecord" => [
                "name" => "住宿記錄",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            'dormitoryState' => [
                "name" => "宿舍狀態圖",
                "see" => "查詢",
            ],
            "checkLiveRecord" => [
                "name" => "查寢記錄",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "dormitoryFeeRecord" => [
                "name" => "宿舍費用記錄",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
        ],
        '統計' => [
            "dormitoryFeeStatistics" => [
                "name" => "住宿費用統計",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
        ]
    ],
    '審計' => [
        '業務單據' => [
            "checkPlan" => [
                "name" => "稽核計畫",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "inspection" => [
                "name" => "稽核記錄",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "inspectionDetail" => [
                "name" => "稽核記錄-待通知",
                "see" => "查詢",
                "edit" => "編輯",
                "export" => "excel 匯出",
            ],
            "inspectionNotified" => [
                "name" => "稽核記錄-已通知",
                "see" => "查詢",
                "export" => "excel 匯出",
                "cla" => "inspectionDetail",
                "fun" => "notified",
            ],
            "inspectionFedBack" => [
                "name" => "稽核記錄-已回饋",
                "see" => "查詢",
                "export" => "excel 匯出",
                "cla" => "inspectionDetail",
                "fun" => "fedBack",
            ],
            "inspectionPassed" => [
                "name" => "稽核記錄-驗證通過",
                "see" => "查詢",
                "export" => "excel 匯出",
                "cla" => "inspectionDetail",
                "fun" => "passed",
            ],
            "inspectionFail" => [
                "name" => "稽核記錄-驗證未過",
                "see" => "查詢",
                "export" => "excel 匯出",
                "cla" => "inspectionDetail",
                "fun" => "fail",
            ],
            "inspectionClose" => [
                "name" => "稽核記錄-已關閉",
                "see" => "查詢",
                "export" => "excel 匯出",
                "cla" => "inspectionDetail",
                "fun" => "close",
            ],
            "inspectionAll" => [
                "name" => "稽核記錄-全部",
                "see" => "查詢",
                "export" => "excel 匯出",
                "cla" => "inspectionDetail",
                "fun" => "all",
            ],
            "rectification" => [
                "name" => "整改通知",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
        ],
        '統計' => [
            "checkStatistics" => [
                "name" => "稽核統計",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
        ]
    ],
    "獎懲" => [
        "業務單據" => [
            "rewards" => [
                "name" => "獎懲紀錄",
                "see" => "查看自己",
                "seeAll" => "看全部",
                "edit" => "編輯",
                "del" => "刪除",
            ],
        ],

    ],

    "通用審核" => [
        '業務單據' => [
            "generalAudit" => [
                "name" => "通用審核記錄",
                "see" => "查看自己",
                "seeAll" => "看全部",
                "edit" => "編輯",
                "del" => "刪除",
            ],
        ],

    ],
    "任務" => [
        '業務單據' => [
            "mission" => [
                "name" => "我負責的",
                "see" => "查看自己",
                "seeAll" => "看全部",
            ],
            "joinMission" => [
                "name" => "我參與的",
                "see" => "查詢",
                "seeAll" => "看全部",
                "cla" => "mission",
                "fun" => "joinMission",
            ],
            "tellMission" => [
                "name" => "知會我的",
                "see" => "查詢",
                "seeAll" => "看全部",
                "cla" => "mission",
                "fun" => "tellMission",
            ],
            "startMission" => [
                "name" => "我發起的",
                "see" => "查詢",
                "seeAll" => "看全部",
                "edit" => "編輯",
                "del" => "刪除",
                "cla" => "mission",
                "fun" => "startMission",
            ],
        ],

    ],
    "資訊發布" => [
        '業務單據' => [
            "notification" => [
                "name" => "公司通知",
                "see" => "查看自己",
                "seeAll" => "看全部",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "news" => [
                "name" => "公司動態",
                "see" => "查看自己",
                "seeAll" => "看全部",
                "edit" => "編輯",
                "del" => "刪除",
            ],
        ],

    ],
    "學習園地" => [
        '業務單據' => [
            "documentCatalog" => [
                "name" => "文檔目錄",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "documentManagement" => [
                "name" => "文檔",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "documentCenter" => [
                "name" => "文檔中心",
                "see" => "查詢",
            ],
        ],

    ],
    "文件" => [
        '業務單據' => [
            "file" => [
                "name" => "附件",
                "see" => "查詢",
                "seeAll" => "看所有",
                "edit" => "編輯",
                "seeSecret" => "保密文件",
            ],
            "share" => [
                "name" => "共用檔案",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "power" => "權限控制",
                "zip" => "壓縮",
            ],
        ],
    ],
];

$powerAllTC["銷售管理"] = [
    '訂貨商城' => [
        '業務單據' => [
            "productSetupStore" => [
                "name" => "商品設定",
                "see" => "查詢",
                "edit" => "編輯",
            ],
            "clientStore" => [
                "name" => "客戶帳號",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "state" => "啟動停用",
            ],
            "orderStore" => [
                "name" => "訂貨訂單",
                "see" => "查詢",
                // "edit" => "編輯",
                // "del" => "刪除",
                "confirm" => "確認",
            ],
            "announcementStore" => [
                "name" => "商城公告",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
        ]
    ],
    // '企微管理' => [
    // "Live Code" => [
    // "name" => "活碼",
    // "see" => "查詢",
    // "edit" => "編輯",
    // "del" => "刪除",
    // ],
    // "Enterprise Micro Client" => [
    // "name" => "企微客戶",
    // "see" => "查詢",
    // "edit" => "編輯",
    // "del" => "刪除",
    // ],
    // "Enterprise Micro Client Group" => [
    // "name" => "企微客戶群",
    // "see" => "查詢",
    // "edit" => "編輯",
    // "del" => "刪除",
    // ],
    // "Material Management" => [
    // "name" => "素材管理",
    // "see" => "查詢",
    // "edit" => "編輯",
    // "del" => "刪除",
    // ],
    // "Session Archive" => [
    // "name" => "會話存檔",
    // "see" => "查詢",
    // "edit" => "編輯",
    // "del" => "刪除",
    // ],
    // "Separation and succession" => [
    // "name" => "離職繼承",
    // "see" => "查詢",
    // "edit" => "編輯",
    // "del" => "刪除",
    // ],
    // "Inheritance in service" => [
    // "name" => "在職繼承",
    // "see" => "查詢",
    // "edit" => "編輯",
    // "del" => "刪除",
    // ],
    // "Deletion of customer risk control" => [
    // "name" => "刪客風控",
    // "see" => "查詢",
    // "edit" => "編輯",
    // "del" => "刪除",
    // ],
    // ],
    '客戶管理' => [
        '銷售線索' => [
            "clue" => [
                "name" => "我的線索",
                'admin' => '管理員操作',
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "import" => "excel 導入",
                'export' => "excel 匯出",
                'fileAdd' => '附件新增',
                'fileDel' => '附件刪除',
                'newFollow' => '跟進記錄添加',
                'delFollow' => '跟進記錄刪除',
            ],
            "clueCooperation" => [
                "name" => "我協作的",
                "see" => "查詢",
                "cla" => "clue",
                "fun" => "cooperation",
            ],
            "allClue" => [
                "name" => "全部線索",
                "see" => "查詢自己",
                "seeGroup" => "查詢下級",
                "seeAll" => "查詢全部",
                "edit" => "編輯",
                "cla" => "clue",
                "fun" => "allClue",
            ],
            "cluePool" => [
                "name" => "線索池",
                "see" => "查詢自己",
                "seeAll" => "查詢全部",
                "edit" => "編輯",
                "del" => "刪除",
                "import" => "excel 導入",
                'export' => "excel 匯出",
            ],
        ],
        '客戶檔案' => [
            "client" => [
                "name" => "我的客戶",
                'admin' => '管理員操作',
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "import" => "excel 導入",
                'export' => "excel 匯出",
                'fileAdd' => '附件新增',
                'fileDel' => '附件刪除',
                'newFollow' => '跟進記錄添加',
                'delFollow' => '跟進記錄刪除',
                'staffEdit' => '聯絡人加',
                'staffDel' => '聯絡人刪除',
            ],
            "clientCooperation" => [
                "name" => "我協作的",
                "see" => "查詢",
                "cla" => "client",
                "fun" => "cooperation",
            ],
            "allClient" => [
                "name" => "全部客戶",
                "see" => "查詢自己",
                "seeGroup" => "查詢下級",
                "seeAll" => "查詢全部",
                'admin' => '管理員操作',
                "cla" => "client",
                "fun" => "allClue",
            ],
            "clientPool" => [
                "name" => "公客池",
                "see" => "查詢自己",
                "seeAll" => "查詢全部",
                "edit" => "編輯",
                "del" => "刪除",
                "import" => "excel 導入",
                'export' => "excel 匯出",
            ],
            "kehuStaff" => [
                "name" => "聯絡人",
                "see" => "查詢自己",
                "seeAll" => "查詢全部",
                "import" => "excel 導入",
                "export" => "excel 匯出",
            ],
            "vicinityClient" => [
                "name" => "附近客戶",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "follow" => [
                "name" => "跟進紀錄",
                "see" => "查詢自己",
                "seeAll" => "查詢全部",
                "export" => "excel 匯出",
            ],
            "visitPlan" => [
                "name" => "訪客計畫",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                // "confirm" => "確認",
            ],
        ],
        '商機' => [
            "opportunity" => [
                "name" => "我的商機",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "import" => "excel 導入",
                "export" => "excel 匯出",
                'fileAdd' => '附件新增',
                'fileDel' => '附件刪除',
                'newFollow' => '跟進記錄添加',
                'delFollow' => '跟進記錄刪除',
            ],
            "opportunityCooperation" => [
                "name" => "我協作的",
                "see" => "查詢",
                "cla" => "opportunity",
                "fun" => "cooperation",
            ],
            "allOpportunity" => [
                "name" => "全部商機",
                'admin' => '管理員操作',
                "see" => "查詢自己",
                "seeGroup" => "查詢下級",
                "seeAll" => "查詢全部",
                "cla" => "opportunity",
                "fun" => "allClue",
            ],
        ],
        '客戶設定' => [
            "tag" => [
                "name" => "標籤設定",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            // "keyAuthorization" => [
            // "name" => "金鑰授權",
            // "see" => "查詢",
            // "edit" => "編輯",
            // "del" => "刪除",
            // ],
            // "SMSConfig" => [
            // "name" => "簡訊設定",
            // "see" => "查詢",
            // "edit" => "編輯",
            // "del" => "刪除",
            // ],
            "performanceTarget" => [
                "name" => "業績目標設定",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "cluePoolSetting" => [
                "name" => "線索池設定",
                "see" => "自己",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "clientPoolSetting" => [
                "name" => "客戶池設定",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
        ],
        '報表' => [
            "salesProcessStatistics" => [
                "name" => "銷售流程統計",
                "see" => "查詢",
            ],
            "salesPerformanceStatistics" => [
                "name" => "銷售業績統計",
                "see" => "查詢",
            ],
            "customerAnalysis" => [
                "name" => "客戶分析",
                "see" => "查詢",
            ],
        ]
    ],
    '銷售業務' => [
        '報價單' => [
            "quotations" => [
                "name" => "報價單",
                "see" => "查詢自己",
                "seeAll" => "查詢全部",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
                "cancel" => "撤回",
                "print" => "列印",
            ],
        ],
        '銷售合約' => [
            "salesContract" => [
                "name" => "銷售合約",
                "see" => "查詢自己",
                "seeAll" => "查詢全部",
                "edit" => "編輯",
                "del" => "刪除",
                "fileAdd" => '附件上傳',
                "fileDel" => '附件刪除',
            ],
            "paybackPlan" => [
                "name" => "回款計畫",
                "see" => "查詢",
                // "edit" => "編輯",
                // "del" => "刪除",
                "export" => "excel 匯出",
            ],
        ],
        '銷售預測' => [
            "saleForecast" => [
                "name" => "銷售預測",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
                "cancel" => "撤回",
            ],
        ],
        '銷售訂貨' => [
            "saleOrder" => [
                "name" => "銷售訂單",
                "see" => "查詢自己",
                "seeAll" => "查詢全部",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
                "cancel" => "撤回",
                'print' => '列印',
                "close" => "批量關閉",
                "import" => "excel 導入",
            ],
        ],
        '銷售出貨' => [
            "saleSendOrder" => [
                "name" => "銷售出貨單",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
                "cancel" => "撤回",
                'print' => '列印',
            ],
        ],
        '銷售退貨' => [
            "saleRefundOrder" => [
                "name" => "銷售退貨單",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
                "cancel" => "撤回",
                'print' => '列印',
            ],
        ],
        '銷售設定' => [
            "clientPriceList" => [
                "name" => "客戶價格本",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "import" => "excel 導入",
                "export" => "excel 匯出",
            ],
        ],
    ],
    '銷售報表' => [
        '執行' => [
            "saleTrack" => [
                "name" => "銷售訂單追蹤表",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
        ],
        '分析' => [
            "saleIncome" => [
                "name" => "銷售收款一覽表",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "saleProfit" => [
                "name" => "銷售利潤表",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
        ],
        '統計' => [
            'salesReportForm' => [
                "name" => "銷售報表",
                "see" => "查詢",
            ],
            "saleStatistics" => [
                "name" => "銷售商品總整理",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "clientStatistics" => [
                "name" => "銷售客戶總表",
                "see" => "查詢",
                "export" => "excel 匯出",
                "cla" => "saleStatistics",
                "fun" => "client",
            ],
            "saleManStatistics" => [
                "name" => "銷售員總整理",
                "see" => "查詢",
                "export" => "excel 匯出",
                "cla" => "saleStatistics",
                "fun" => "saleMan",
            ],
            "saleSendStatistics" => [
                "name" => "銷售出貨總計",
                "see" => "查詢",
                "export" => "excel 匯出",
                "cla" => "saleStatistics",
                "fun" => "saleSend",
            ],
        ],
        '明細' => [
            "saleOrderMx" => [
                "name" => "銷售明細表",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "saleSendOrderMx" => [
                "name" => "銷售出貨明細表",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
        ],
    ],
    '售後維修' => [
        '業務單據' => [
            "installDebug" => [
                "name" => "安裝偵錯",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => '確認',
                "cancel" => '撤回',
            ],
            "aftermarketRegister" => [
                "name" => "維修登記",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "registry" => '登記',
                "registryCancel" => "取消登記",
            ],
            "aftermarketAssign" => [
                "name" => "維修待派工",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "assign" => "內部派工",
                "assignOutside" => "外部維修",
            ],
            "aftermarketAssignPart" => [
                "name" => "維修已派工",
                "see" => "查詢",
                "assignCancel" => "取消派工",
                "done" => "完成",
                "cla" => "aftermarketAssign",
                "fun" => "part",
            ],
            "aftermarketRecord" => [
                "name" => "已派工維修紀錄",
                "see" => "查詢",
            ],
            "aftermarketRecordDone" => [
                "name" => "已完成維修記錄",
                "see" => "查詢",
                "cla" => "aftermarketRecord",
                "fun" => "done",
            ],
            "aftermarketCollocation" => [
                "name" => "維修領用",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => '確認',
                "cancel" => '取消',
                "print" => "列印",
            ],
        ],
        '統計' => [
            "aftermarketStatistics" => [
                "name" => "故障統計",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
        ],
    ],

];

$powerAllTC["採購管理"] = [
    '供應商管理' => [
        '基礎檔案' => [
            "supplier" => [
                "name" => "供應商檔案",
                "see" => "查詢",
                "seeAll" => "查詢所有",
                "edit" => "編輯",
                "del" => "刪除",
                "import" => "excel 導入",
                "export" => "excel 匯出",
                'staffEdit' => '聯絡人加',
                'staffDel' => '聯絡人刪除',
                'fileAdd' => '附件新增',
                'fileDel' => '附件刪除',
            ],
        ],
        '價格管理' => [
            "supplierPriceList" => [
                "name" => "供應商價格本",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "import" => "excel 導入",
                "export" => "excel 匯出",
            ],
        ],
    ],
    '採購業務' => [
        '採購計畫' => [
            "purchaseDemand" => [
                "name" => "外購產品需求",
                "see" => "查詢",
                "edit" => "編輯",
            ],
        ],
        '採購合約' => [
            "purchaseContract" => [
                "name" => "採購合約",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                'fileAdd' => '附件編輯',
                'fileDel' => '附件刪除',
            ],
            "supplyList" => [
                "name" => "供貨清單",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
        ],
        '請購' => [
            "purchaseApply" => [
                "name" => "購買申請",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
                "cancel" => "撤回",
                'close' => '關閉'
            ],
        ],
        '採購訂貨' => [
            "purchaseOrder" => [
                "name" => "採購訂單",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
                "cancel" => "撤回",
                'print' => '列印',
                'close' => '關閉',
                "import" => "excel 導入",
            ],
        ],
        '採購到貨' => [
            "purchaseGetOrder" => [
                "name" => "採購收貨單",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
                "cancel" => "撤回",
                'print' => '列印',
            ],
        ],
        '採購退貨' => [
            "purchaseRefundOrder" => [
                "name" => "採購退貨單",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
                "cancel" => "撤回",
                'print' => '列印',
            ],
        ],
        '暫估調整' => [
            "purchaseEstimationOrder" => [
                "name" => "暫估調整單",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
                "cancel" => "撤回",
                'print' => '列印',
            ],
        ],
    ],
    '報表' => [
        '執行表' => [
            "purchaseTrack" => [
                "name" => "採購訂單追蹤",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "purchasePay" => [
                "name" => "採購付款一覽表",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
        ],
        '明細表' => [
            "purchaseOrderMx" => [
                "name" => "採購明細表",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
        ],
        '統計' => [
            'purchaseReportForm' => [
                "name" => "採購報表",
                "see" => "查詢",
            ],
            "purchaseStatistics" => [
                "name" => "購買商品總整理",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "supplierPurchaseStatistics" => [
                "name" => "採購供應商總結",
                "see" => "查詢",
                "export" => "excel 匯出",
                "cla" => "purchaseStatistics",
                "fun" => "supplier",
            ],
        ],
    ],
];

$powerAllTC["庫存管理"] = [
    '基礎檔案' => [
        '倉庫檔案' => [
            "warehouse" => [
                "name" => "倉儲檔案",
                "see" => "查詢",
                "seeAll" => "查詢所有",
                "edit" => "編輯",
                "del" => "刪除",
                "import" => "excel 導入",
            ],
            "warehousePosition" => [
                "name" => "倉位設定",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
        ],
    ],
    '入庫' => [
        '入庫單' => [
            "inStock" => [
                "name" => "待入庫",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "inStockExec" => [
                "name" => "入庫",
                "see" => "查詢",
                "edit" => "入庫",
                "del" => "刪除",
                "print" => '列印',
                "check" => '複核',
                "cancel" => '作廢',
                "import" => "excel 導入",
                "export" => "excel 匯出",
            ],
        ],
    ],
    '出庫' => [
        '出庫單' => [
            "outStock" => [
                "name" => "待出庫",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "outStockExec" => [
                "name" => "出庫",
                "see" => "查詢",
                "edit" => "出庫",
                "del" => "刪除",
                "print" => '列印',
                "check" => '複核',
                "cancel" => '作廢',
                "import" => "excel 導入",
                "export" => "excel 匯出",
            ],
        ],
    ],
    '組裝拆解' => [
        '業務單據' => [
            "assembly" => [
                "name" => "組裝單",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => '確認',
                "cancel" => '取消',
            ],
            "dismantle" => [
                "name" => "拆解單",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => '確認',
                "cancel" => '取消',
            ],
        ],
    ],
    '調撥' => [
        '業務單據' => [
            "inventoryAllot" => [
                "name" => "調撥單",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "print" => '列印',
                "confirm" => '確認',
                "cancel" => '取消',
            ],
        ],
    ],
    '庫位管理' => [
        '業務單據' => [
            "moveStock" => [
                "name" => "移庫",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "moveStockRecord" => [
                "name" => "移庫記錄",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
        ],
    ],
    '盤點' => [
        '業務單據' => [
            "inventory" => [
                "name" => "盤點單",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => '確認',
                "cancel" => '取消',
                "import" => "excel 導入",
                "export" => "excel 匯出",
            ],
        ],
    ],
    '成本管理' => [
        '業務單據' => [
            "costAdjustment" => [
                "name" => "成本調整單",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => '確認',
                "cancel" => '取消',
            ],
        ],
    ],
    '工具管理' => [
        '業務流程' => [
            "toolCollection" => [
                "name" => "工具使用",
                "see" => "查詢",
                "edit" => "出庫",
                "del" => "刪除",
                "export" => "excel 匯出",
            ],
            "toolOverhaulOut" => [
                "name" => "工具檢修出庫",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "print" => "列印",
            ],
            "toolOverhaulIn" => [
                "name" => "工具檢修入庫",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "print" => "列印",
            ],
            "toolOverhaulRecord" => [
                "name" => "工具檢修記錄",
                "see" => "查詢",
                "export" => "excel 匯出",
                "cla" => "toolOverhaulOut",
                "fun" => "toolOverhaulRecord",
            ],
            "toolCollectionRecord" => [
                "name" => "工具領用歸還明細",
                "see" => "查詢",
                "export" => "excel 匯出",
                "cla" => "toolCollection",
                "fun" => "toolCollectionRecord",
            ],
        ],
    ],
    '倉庫報表' => [
        '庫存餘額' => [
            "inventoryDistribution" => [
                "name" => "庫存分佈",
                "see" => "查詢",
                "export" => "excel 匯出",
                "map" => "庫存分佈圖",
            ],
            "inventoryDistributionMap" => [
                "name" => "庫存分佈圖",
                "see" => "查詢",
            ],
            "inventoryBalance" => [
                "name" => "庫存餘額表",
                "see" => "查詢",
                "price" => "單價查看",
                "export" => "excel 匯出",
            ],
        ],
        '庫存動態' => [
            'inventoryReportForm' => [
                "name" => "庫存報表",
                "see" => "查詢",
            ],
            "batchDetail" => [
                "name" => "批次明細表",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "receiptDelivery" => [
                "name" => "收發明細表",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "receiptDeliverySummary" => [
                "name" => "收發總表",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
        ],
    ],
];

$powerAllTC["物流管理"] = [
    '基礎檔案' => [
        '駕駛員' => [
            "logisticsDriver" => [
                "name" => "駕駛檔案",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "import" => "excel 導入",
                "export" => "excel 匯出",
            ],
        ],
        '車輛' => [
            "logisticsCar" => [
                "name" => "內部車輛",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "import" => "excel 導入",
                "export" => "excel 匯出",
            ],
            "logisticsTransferCar" => [
                "name" => "外調車輛",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
        ],
    ],
    '物流業務' => [
        '物流單' => [
            "deliveryManage" => [
                "name" => "出貨待派車",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "deliveryManageAlready" => [
                "name" => "出貨已派車",
                "see" => "查詢",
                "edit" => "編輯",
                "cla" => "deliveryManage",
                "fun" => "already",
            ],
            "deliveryManageDelivery" => [
                "name" => "已出貨",
                "see" => "查詢",
                "edit" => "編輯",
                "cla" => "deliveryManage",
                "fun" => "delivery",
            ],
            "deliveryManageSign" => [
                "name" => "已簽收",
                "see" => "查詢",
                "edit" => "編輯",
                "cla" => "deliveryManage",
                "fun" => "sign",
            ],
        ],
        '運費' => [
            "freightDetails" => [
                "name" => "內部車輛運費明細",
                "see" => "查詢",
                "edit" => "編輯",
                "export" => "excel 匯出",
            ],
            "freightDetailsExternal" => [
                "name" => "外調車輛運費明細",
                "see" => "查詢",
                "edit" => "編輯",
                "export" => "excel 匯出",
                "cla" => "freightDetails",
                "fun" => "external",
            ],
        ],
    ],
];

$powerAllTC["委外管理"] = [
    '工序委外業務' => [
        '委外計畫' => [
            "outsourceDemand" => [
                "name" => "委外需求計畫",
                "see" => "查詢",
                "edit" => "編輯",
            ],
        ],
        '委外合約' => [
            "outsourceContract" => [
                "name" => "委外合約",
                "see" => "查詢",
                "seeAll" => "查詢全部",
                "edit" => "編輯",
                "del" => "刪除",
                'fileAdd' => '附件新增',
                'fileDel' => '附件刪除',
            ],
            "outsourceList" => [
                "name" => "委外供應清單",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
        ],
        '委外訂單' => [
            "outsourceProcess" => [
                "name" => "外加加工單",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
                "cancel" => "撤回",
                "print" => '列印',
            ],
        ],
        '委外收貨' => [
            "outsourceGet" => [
                "name" => "委外收貨單",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
                "cancel" => "撤回",
                "print" => '列印',
            ],
        ],
        '委外退貨' => [
            "outsourceRefund" => [
                "name" => "委外退貨單",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
                "cancel" => "撤回",
                "print" => '列印',
            ],
        ],
        '委外結算' => [
            "outsourceSettle" => [
                "name" => "委外結算單",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
                "cancel" => "撤回",
            ],
        ],
        '委外報表' => [
            "outsourceProcessTrack" => [
                "name" => "委外加工單追蹤",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
        ],
    ],
    '委外材料管理' => [
        '委外發料' => [
            "outsourcePick" => [
                "name" => "委外發料單",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
                "cancel" => "撤回",
                "print" => '列印',
            ],
        ],
        '委外退料' => [
            "outsourcePickRefund" => [
                "name" => "委外退料單",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
                "cancel" => "撤回",
                "print" => '列印',
            ],
        ],
        '報表' => [
            "outsourcePickMx" => [
                "name" => "委外發退料明細",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "outsourceDiff" => [
                "name" => "委外用料差異明細",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "outsourceDiffStatistics" => [
                "name" => "委外用料差異總和",
                "see" => "查詢",
                "export" => "excel 匯出",
                "cla" => "outsourceDiff",
                "fun" => "statistics",
            ],
        ],
    ],
    '委外結算' => [
        '委外成本' => [
            "outsourceCost" => [
                "name" => "委外成本會計",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
        ],
    ],
];

$powerAllTC["自製生產"] = [
    '生產計劃' => [
        '生產計劃' => [
            "productDemand" => [
                "name" => "產品需求計畫",
                "see" => "查詢",
                "edit" => "編輯",
            ],
        ],
    ],
    '生產控制' => [
        '生產工單' => [
            "machiningOrder" => [
                "name" => "生產計畫",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
                "cancel" => "撤回",
                'print' => '列印',
                "import" => "excel 導入",
            ],
            "semiProductDemand" => [
                "name" => "半成品需求計畫",
                "see" => "查詢",
                "edit" => "編輯",
            ],
            "semiMachiningOrder" => [
                "name" => "半成品加工單",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
                "cancel" => "撤回",
                'print' => '列印',
            ],
            "materialDemand" => [
                "name" => "材料需求計劃明細",
                "see" => "查詢",
                "edit" => "編輯",
                "export" => "excel 匯出",
            ],
            "materialDemandDate" => [
                "name" => "依日期彙總材料需求",
                "see" => "查詢",
                "export" => "excel 匯出",
                "cla" => "materialDemand",
                "fun" => "summary",
            ],
            "materialDemandSummary" => [
                "name" => "按物料總結材料需求",
                "see" => "查詢",
                "export" => "excel 匯出",
                "cla" => "materialDemand",
                "fun" => "materialSummary",
            ],
        ],
        '工序流轉卡' => [
            "machiningCard" => [
                "name" => "生產流轉卡",
                "see" => "查詢",
                "export" => "excel 匯出",
                'print' => '列印',
            ],
        ],
        '工序計畫' => [
            "machiningSendOrder" => [
                "name" => "生產派工單",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
                "cancel" => "撤回",
                'print' => '列印',
            ],
            "machiningSendOrderWaitReport" => [
                "name" => "生產派工單待報工",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
                "cancel" => "撤回",
                'print' => '列印',
                "cla" => "machiningSendOrder",
                "fun" => "waitReport",
            ],
            "machiningSendOrderPartReport" => [
                "name" => "生產派工單部分報工",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
                "cancel" => "撤回",
                'print' => '列印',
                "cla" => "machiningSendOrder",
                "fun" => "partReport",
            ],
            "machiningSendOrderReported" => [
                "name" => "生產派工單已報工",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
                "cancel" => "撤回",
                'print' => '列印',
                "cla" => "machiningSendOrder",
                "fun" => "reported",
            ],
        ],
        '工序報工' => [
            "processReport" => [
                "name" => "工序報工",
                "see" => "查詢自己",
                "seeAll" => "查詢全部",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
                "cancel" => "撤回",
            ],
        ],
        '生產返工' => [
            "machiningReworkOrder" => [
                "name" => "生產返工單",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
                "cancel" => "撤回",
                "print" => "列印",
            ],
        ],
        '生產完工' => [
            "machiningInOrder" => [
                "name" => "生產入庫單",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
                "cancel" => "撤回",
            ],
        ],
    ],
    '材料控制' => [
        '領退料' => [
            "pickOrder" => [
                "name" => "領料單",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
                "cancel" => "撤回",
                "print" => "列印",
                'import' => 'excel導入',
            ],
            "refundMaterialOrder" => [
                "name" => "退料單",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
                "cancel" => "撤回",
                'import' => 'excel導入',
            ],
        ],
        '配料' => [
            "ingredientsOrder" => [
                "name" => "未配料",
                "see" => "查詢",
                "edit" => "編輯",
            ],
            "ingredientsOrderDone" => [
                "name" => "已配料",
                "see" => "查詢",
                "edit" => "編輯",
                "confirm" => "確認",
                "cancel" => "撤回",
                "cla" => "ingredientsOrder",
                "fun" => "done",
            ],
            "ingredientsOrderList" => [
                "name" => "配料單",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
                "cancel" => "撤回",
                "cla" => "ingredientsOrder",
                "fun" => "order",
            ],
            "tempInventory" => [
                "name" => "線邊庫存",
                "see" => "查詢",
                'export' => "excel 匯出",
            ],
            "tempInventoryRefund" => [
                "name" => "線邊庫存退庫",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
            ],
            "materialDistribute" => [
                "name" => "材料倒沖",
                "see" => "查詢",
                "edit" => "編輯",
            ],
            "materialDistributeRecord" => [
                "name" => "材料分配記錄",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
                "cancel" => "撤回",
            ],
        ],
        '廢料' => [
            "scrappedOrder" => [
                "name" => "報廢申請書",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
        ],
    ],
    '生產工資' => [
        '計時工資' => [
            "pieceHour" => [
                "name" => "計時薪資",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "workshopClock" => [
                "name" => "車間考勤表",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
                "cancel" => "撤回",
                'import' => 'excel 導入',
                'export' => "excel 匯出",
            ],
            'timingReport' => [
                "name" => "計時日報",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                'import' => 'excel 導入',
                'export' => "excel 匯出",
            ],
        ],
        '計件工資' => [
            "pieceCount" => [
                "name" => "計件工資",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
        ],
        '工資報表' => [
            "pieceStatistics" => [
                "name" => "計時計件總計",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "export" => "excel 匯出",
                "print" => "列印",
                "pay" => "撥付",
            ],
        ],
    ],
    '生產成本' => [
        '生產成本會計' => [
            "costCount" => [
                "name" => "成本會計",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "costCountStatistics" => [
                "name" => "輔助成本會計",
                "see" => "查詢",
                "import" => "excel 導入",
                "export" => "excel 匯出",
            ],
            "costAllocation" => [
                "name" => "成本分攤單",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
                "cancel" => "撤回",
            ],
        ],
    ],
    '生產統計' => [
        '生產報表' => [
            "productTrack" => [
                "name" => "生產訂單追蹤",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "completionRate" => [
                "name" => "完工率統計",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "pickAndRefundMx" => [
                "name" => "生產領退料明細",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "productDiff" => [
                "name" => "生產用料差異",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "processReportStatistics" => [
                "name" => "工序報工統計",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "processInventory" => [
                "name" => "工序庫存表",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
        ],
        '可視化看板' => [
            "productionKanban" => [
                "name" => "生產看板",
                "see" => "查詢",
            ],
        ],
    ],
    '基礎檔案' => [
        '基礎檔案' => [
            "productLine" => [
                "name" => "生產線檔案",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "import" => "excel 導入",
            ],
            "team" => [
                "name" => "班組檔案",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
        ],
    ],
];

$powerAllTC["品質管理"] = [
    '質檢業務' => [
        '檢驗' => [
            "materialInspection" => [
                "name" => "來料檢驗",
                "see" => "查詢",
                "edit" => "編輯",
                "confirm" => "確認",
                "cancel" => "撤回",
            ],
            "outsourceInspection" => [
                "name" => "委外入庫檢驗",
                "see" => "查詢",
                "edit" => "編輯",
                "confirm" => "確認",
                "cancel" => "撤回",
            ],
            "processingInspection" => [
                "name" => "過程檢驗",
                "see" => "查詢",
                "edit" => "編輯",
                "confirm" => "確認",
                "cancel" => "撤回",
            ],
            "processSpotCheck" => [
                "name" => "工序巡檢",
                "see" => "查詢",
                "edit" => "編輯",
                "confirm" => "確認",
                "cancel" => "撤回",
            ],
            "processInspection" => [
                "name" => "制終檢驗",
                "see" => "查詢",
                "edit" => "編輯",
                "confirm" => "確認",
                "cancel" => "撤回",
            ],
            "shippingInspection" => [
                "name" => "出貨檢驗",
                "see" => "查詢",
                "edit" => "編輯",
                "confirm" => "確認",
                "cancel" => "撤回",
            ],
        ],
        '不良品處理' => [
            "productBadDeal" => [
                "name" => "不良處理",
                "see" => "查詢",
                "edit" => "編輯",
            ],
        ],
    ],
    '質量統計' => [
        '質量報表' => [
            "materialInspectionStatistics" => [
                "name" => "來料檢定統計",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "outsourceInspectionStatistics" => [
                "name" => "委外入庫檢定統計",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "processingInspectionStatistics" => [
                "name" => "過程檢定統計",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "processSpotCheckStatistics" => [
                "name" => "工序巡檢統計",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "processInspectionStatistics" => [
                "name" => "制終檢定統計",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "shippingInspectionStatistics" => [
                "name" => "出貨檢定統計",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "badAnalysis" => [
                "name" => "不良原因分析",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
        ],
        '可視化看板' => [
            "qualityKanban" => [
                "name" => "品質看板",
                "see" => "查詢",
            ],
        ],
    ],
    '質檢方案' => [
        '產品質檢方案' => [
            "quarantine" => [
                "name" => "產品質檢方案",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
        ],
    ],
];

$powerAllTC["裝置管理"] = [
    '設備' => [
        '設備' => [
            "equipment" => [
                "name" => "裝置",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "print" => "列印",
                "state" => "狀態",
                'inspection' => '巡檢計畫',
                'maintenance' => '保養計畫',
                'failure' => '故障類型',
                'fileAdd' => '附件新增',
                'fileDel' => '附件刪除',
                "import" => "excel 導入",
            ],
            "equipmentInspection" => [
                "name" => "巡檢",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "equipmentMaintenance" => [
                "name" => "保養",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "equipmentRepair" => [
                "name" => "維修登記",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "registry" => '登記',
                "registryCancel" => "取消登記",
            ],
            "equipmentRepairPart" => [
                "name" => "維修派工",
                "see" => "查詢",
                "assign" => "派工",
                "assignCancel" => "取消派工",
                "done" => "完成",
                "cla" => "equipmentRepair",
                "fun" => "part",
            ],
            "equipmentRepairAll" => [
                "name" => "維修紀錄",
                "see" => "查詢",
                "cla" => "equipmentRepair",
                "fun" => "all",
            ],
            "moldDisarmament" => [
                "name" => "裝置核減",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "export" => "excel 匯出",
            ],
        ],
        '配件' => [
            "parts" => [
                "name" => "配件",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "state" => "啟動停用",
                "import" => "excel 導入",
                "export" => "excel 匯出",
            ],
            "partsInStock" => [
                "name" => "配件入庫",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => '確認',
                "cancel" => '取消',
                "print" => "列印",
            ],
            "partsCollection" => [
                "name" => "配件使用",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => '確認',
                "cancel" => '取消',
                "print" => "列印",
            ],
            "partsReturn" => [
                "name" => "配件退庫",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => '確認',
                "cancel" => '取消',
                "print" => "列印",
            ],
            "partsInventory" => [
                "name" => "配件盤",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => '確認',
                "cancel" => '取消',
                "export" => "excel 匯出",
            ],
        ],
        '可視化看板' => [
            "equipmentKanban" => [
                "name" => "裝置看板",
                "see" => "查詢",
            ],
        ],
    ],
];

$powerAllTC["工藝裝備"] = [
    '模具' => [
        '模具基礎檔案' => [
            "mold" => [
                "name" => "模具",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "state" => "啟動停用",
                "import" => "excel 導入",
                "export" => "excel 匯出",
            ],
            "moldPortfolio" => [
                "name" => "模具產品組合",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
        ],
        '模具業務' => [
            "moldInStock" => [
                "name" => "模具入庫",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => '確認',
                "cancel" => '取消',
                "print" => "列印",
            ],
            "moldReturn" => [
                "name" => "模具領用歸還",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "return" => "歸還",
            ],
            "moldMaintenance" => [
                "name" => "模具保養維修",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "moldChange" => [
                "name" => "模具轉換",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
            ],
            "moldReduction" => [
                "name" => "模具核減",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "export" => "excel 匯出",
            ],
        ],
    ],
];

$powerAllTC["研發管理"] = [
    '物料管理' => [
        '物料檔案' => [
            'orderTag' => [
                "name" => "物料標籤",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "material" => [
                "name" => "物料檔案",
                "see" => "查詢",
                "edit" => "編輯",
                'editPrice' => '編輯價格',
                "del" => "刪除",
                "import" => "excel 導入",
                "export" => "excel 匯出",
                'fileAdd' => '附件新增',
                'fileDel' => '附件刪除',
            ],
            "materialDetail" => [
                "name" => "物料明細",
                "see" => "查詢",
                "print" => "列印",
                "export" => "excel 匯出",
            ],
        ],
        'BOM' => [
            "bom" => [
                "name" => "BOM表",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "import" => "excel 導入",
                "export" => "excel 匯出",
            ],
        ],
    ],
    '工藝工序' => [
        '工藝工序檔案' => [
            "process" => [
                "name" => "工序檔案",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "import" => "excel 導入",
            ],
            "routing" => [
                "name" => "製程路線",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "import" => "excel 導入",
            ],
        ],
    ],
];

$powerAllTC["財務管理"] = [
    '財務會計' => [
        '憑證' => [
            'voucherEdit' => [
                "name" => "新增憑證",
                "see" => "查詢",
                "edit" => "編輯",
                "print" => "列印",
            ],
            'businessVoucher' => [
                "name" => "業務憑證",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            'voucher' => [
                "name" => "查看憑證",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "audit" => "審核",
                "sign" => "簽名",
                "record" => "記帳",
                "cancel" => "作廢",
                "print" => "列印",
                "import" => "excel 導入",
                "export" => "excel 匯出",
            ],

            'voucherStatistics' => [
                "name" => "憑證總計",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            'accountElecFile' => [
                "name" => "會計電子檔案",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
        ],
        '帳簿' => [
            "accountDetails" => [
                "name" => "明細帳",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "accountTotal" => [
                "name" => "總帳",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "subjectBalance" => [
                "name" => "科目餘額表",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "subjectAssetDetails" => [
                "name" => "科目輔助明細帳",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "subjectAssetBalance" => [
                "name" => "科目輔助餘額表",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "multiColumnAccount" => [
                "name" => "多欄位帳",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "sequentialAccount" => [
                "name" => "序時帳",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
        ],
        '核算項目明細帳' => [
            "projectDetails" => [
                "name" => "客戶明細帳",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "projectDetailsSupplier" => [
                "name" => "供應商明細帳",
                "see" => "查詢",
                "export" => "excel 匯出",
                "cla" => "projectDetails",
                "fun" => "supplier",
            ],
            "projectDetailsStaff" => [
                "name" => "員工明細帳",
                "see" => "查詢",
                "export" => "excel 匯出",
                "cla" => "projectDetails",
                "fun" => "staff",
            ],
            "projectDetailsDepartment" => [
                "name" => "部門明細帳",
                "see" => "查詢",
                "export" => "excel 匯出",
                "cla" => "projectDetails",
                "fun" => "department",
            ],
            "projectDetailsProject" => [
                "name" => "項目明細帳",
                "see" => "查詢",
                "export" => "excel 匯出",
                "cla" => "projectDetails",
                "fun" => "project",
            ],
            "projectDetailsMaterial" => [
                "name" => "存貨明細帳",
                "see" => "查詢",
                "export" => "excel 匯出",
                "cla" => "projectDetails",
                "fun" => "material",
            ],
            "projectDetailsCash" => [
                "name" => "現金流明細帳",
                "see" => "查詢",
                "export" => "excel 匯出",
                "cla" => "projectDetails",
                "fun" => "cash",
            ],
        ],
        '核算項目餘額表' => [
            "projectBalance" => [
                "name" => "客戶餘額表",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "projectBalanceSupplier" => [
                "name" => "供應商餘額表",
                "see" => "查詢",
                "export" => "excel 匯出",
                "cla" => "projectBalance",
                "fun" => "supplier",
            ],
            "projectBalanceStaff" => [
                "name" => "員工餘額表",
                "see" => "查詢",
                "export" => "excel 匯出",
                "cla" => "projectBalance",
                "fun" => "staff",
            ],
            "projectBalanceDepartment" => [
                "name" => "部門餘額表",
                "see" => "查詢",
                "export" => "excel 匯出",
                "cla" => "projectBalance",
                "fun" => "department",
            ],
            "projectBalanceProject" => [
                "name" => "項目餘額表",
                "see" => "查詢",
                "export" => "excel 匯出",
                "cla" => "projectBalance",
                "fun" => "project",
            ],
            "projectBalanceMaterial" => [
                "name" => "存貨餘額表",
                "see" => "查詢",
                "export" => "excel 匯出",
                "cla" => "projectBalance",
                "fun" => "material",
            ],
            "projectBalanceCash" => [
                "name" => "現金流量餘額表",
                "see" => "查詢",
                "export" => "excel 匯出",
                "cla" => "projectBalance",
                "fun" => "cash",
            ],
        ],
        '報表' => [
            'assetDebt' => [
                'name' => '資產負債表',
                'see' => '查詢',
                "export" => "excel 匯出",
                "print" => "列印",
            ],
            'profitIncome' => [
                'name' => '利潤表',
                'see' => '查詢',
                "export" => "excel 匯出",
                "print" => "列印",
            ],
            'profitQuarterly' => [
                'name' => '利潤表季報',
                'see' => '查詢',
                "export" => "excel 匯出",
                "print" => "列印",
            ],
            'cashFlow' => [
                'name' => '現金流量表',
                'see' => '查詢',
                "export" => "excel 匯出",
                "print" => "列印",
            ],
            'cashQuarterly' => [
                'name' => '現金流量表季報',
                'see' => '查詢',
                "export" => "excel 匯出",
                "print" => "列印",
            ],
        ],
        "結帳" => [
            "terminalTransfer" => [
                "name" => "期末結轉",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            /*"carryover" => [
                "name" => "期末結轉系統範本",
                "see" => "查詢",
                "edit" => "編輯",
            ],
            "carryoverCustomize" => [
                "name" => "期末結轉自訂範本",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "cla" => "carryover",
                "fun" => "customize",
            ],
            "checkout" => [
                "name" => "結帳",
                "see" => "查詢",
                "edit" => "編輯",
            ],
            "antiCheckout" => [
                "name" => "反結帳",
                "see" => "查詢",
                "edit" => "編輯",
                "cla" => "checkout",
                "fun" => "antiCheckout",
            ],*/
            "checkoutFiling" => [
                "name" => "歸檔",
                "see" => "查詢",
                'archive' => '歸檔',
                "del" => "刪除",
            ],
        ],
        "資金" => [
            "cashBook" => [
                "name" => "現金日記帳",
                "see" => "查詢",
                "edit" => "編輯",
                'audit' => '審核',
                "del" => "刪除",
                "print" => "列印",
                "import" => "excel 導入",
                "export" => "excel 匯出",
            ],
            "bankBook" => [
                "name" => "銀行日記帳",
                "see" => "查詢",
                "edit" => "編輯",
                'audit' => '審核',
                "del" => "刪除",
                "print" => "列印",
                "import" => "excel 導入",
                "export" => "excel 匯出",
            ],
            "innerTransfer" => [
                "name" => "內部轉帳",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "print" => "列印",
                "import" => "excel 導入",
                "export" => "excel 匯出",
            ],
            "financialReport" => [
                "name" => "帳戶資金報表",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "financialReportBank" => [
                "name" => "收支類型資金報表",
                "see" => "查詢",
                "export" => "excel 匯出",
                "cla" => "financialReport",
                "fun" => "bank",
            ],
            "generalAccount" => [
                "name" => "核對總帳",
                "see" => "查詢",
                "print" => "列印",
                "export" => "excel 匯出",
            ],
        ],
        "發票" => [
            "openInvoice" => [
                "name" => "開票",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "print" => "列印",
                "export" => "excel 匯出",
            ],
            "saleInvoice" => [
                "name" => "銷項發票",
                "see" => "查詢自己",
                "seeAll" => "查詢全部",
                "edit" => "編輯",
                "del" => "刪除",
                "export" => "excel 匯出",
                "import" => "excel 導入",
            ],
            "receiveInvoice" => [
                "name" => "收票",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "print" => "列印",
                "export" => "excel 匯出",
            ],

            "incomeInvoice" => [
                "name" => "進項發票",
                "see" => "查詢自己",
                "seeAll" => "查詢全部",
                "edit" => "編輯",
                "del" => "刪除",
                "export" => "excel 匯出",
                "import" => "excel 導入",
            ],
            // "invoiceIn" => [
            // "name" => "進項發票",
            // "see" => "查詢自己",
            // "seeAll" => "查詢全部",
            // "edit" => "編輯",
            // "del" => "刪除",
            // ],
            // "invoiceOut" => [
            // "name" => "銷項發票",
            // "see" => "查詢自己",
            // "seeAll" => "查詢全部",
            // "edit" => "編輯",
            // "del" => "刪除",
            // ],
        ],
    ],
    '工資' => [
        "工資" => [
            "salary" => [
                "name" => "薪資表",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "export" => "excel 匯出",
            ],
            "salaryStatistics" => [
                "name" => "薪資統計",
                "see" => "查詢",
            ],

        ],
    ],
    '固定資產' => [
        "資產申購" => [
            "assetApply" => [
                "name" => "資產申購",
                "see" => "查詢自己",
                "seeAll" => "查詢全部",
                "edit" => "編輯",
                "del" => "刪除",
            ],
        ],
        "資產卡" => [
            "assetManagement" => [
                "name" => "資產登記",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "import" => "excel 導入",
                "export" => "excel 匯出",
            ],
            "assetList" => [
                "name" => "資產卡",
                "see" => "查詢",
                "export" => "excel 匯出",
                "print" => "列印條碼",
            ],
        ],
        "領用歸還" => [
            "assetUse" => [
                "name" => "閒置資產申領",
                "see" => "查詢自己",
                "seeAll" => "查詢全部",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "assetReturn" => [
                "name" => "資產歸還",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
        ],
        "資產處置" => [
            "assetCut" => [
                "name" => "資產處置",
                "see" => "查詢自己",
                "seeAll" => "查詢全部",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "assetCutMx" => [
                "name" => "資產處置明細",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
        ],
        "資產盤點" => [
            "assetInventory"=> [
                "name"=>"資產盤點",
                "see"=>"査詢",
                "edit"=>"編輯",
                "del"=>"删除",
                "export"=>"excel匯出",
            ],
        ],
        "折舊提列" => [
            "assetDepreciation" => [
                "name" => "提列折舊",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "assetDepreciationMx" => [
                "name" => "資產折舊明細",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
        ],
        "報表" => [
            "assetTotal" => [
                "name" => "資產折舊依部門總結",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "assetTotalType" => [
                "name" => "資產折舊依類別彙總",
                "see" => "查詢",
                "export" => "excel 匯出",
                "cla" => "assetTotal",
                "fun" => "waitReport",
            ],
        ],
    ],
    '費用' => [
        "費用申請" => [
            "feeApply" => [
                "name" => "費用申請紀錄",
                "see" => "查詢自己",
                "seeAll" => "查詢全部",
                "edit" => "編輯",
                "del" => "刪除",
            ],
        ],
        "費用報銷" => [
            "cost" => [
                "name" => "費用報銷記錄",
                "see" => "查詢自己",
                "seeAll" => "查詢全部",
                "edit" => "編輯",
                "del" => "刪除",
                'pay' => '撥付',
            ],
        ],
        "付款" => [
            "payment" => [
                "name" => "付款申請記錄",
                "see" => "查詢自己",
                "seeAll" => "查詢全部",
                "edit" => "編輯",
                "del" => "刪除",
                'pay' => '撥付',
            ],
        ],
        "收款" => [
            "income" => [
                "name" => "收款登記",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
        ],
    ],
    '往來帳' => [
        "業務單據" => [
            "inReceipt" => [
                "name" => "收款單",
                "see" => "查詢自己",
                "seeAll" => "查詢全部",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
                "print" => "列印",
            ],
            "payReceipt" => [
                "name" => "付款單",
                "see" => "查詢自己",
                "seeAll" => "查詢全部",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
                "print" => "列印",
            ],
            "writeOffOrder" => [
                "name" => "核銷單",
                "see" => "查詢自己",
                "seeAll" => "查詢全部",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
            ],
            "otherInReceipt" => [
                "name" => "收入單",
                "see" => "查詢自己",
                "seeAll" => "查詢全部",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
                "cancel" => "撤銷",
            ],
            "otherOutReceipt" => [
                "name" => "費用單",
                "see" => "查詢自己",
                "seeAll" => "查詢全部",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
                "cancel" => "撤銷",
            ],
            "transferReceipt" => [
                "name" => "轉帳單",
                "see" => "查詢自己",
                "seeAll" => "查詢全部",
                "edit" => "編輯",
                "del" => "刪除",
                "confirm" => "確認",
            ],
        ],
        "統計" => [
            "currentUnitBalance" => [
                "name" => "往來單位餘額表",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "currentUnitMx" => [
                "name" => "客戶一覽表",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "currentUnitMxSupplier" => [
                "name" => "供應商一覽表",
                "see" => "查詢",
                "export" => "excel 匯出",
                "cla" => "currentUnitMx",
                "fun" => "supplier",
            ],
            "clientReconciliation" => [
                "name" => "客戶對帳單",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "supplierReconciliation" => [
                "name" => "供應商對帳單",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "incomeDetails" => [
                "name" => "應收帳款明細表",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "payDetails" => [
                "name" => "應付帳款明細表",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "incomeAgeAnalysis" => [
                "name" => "應收帳齡分析",
                "see" => "查詢",
                "export" => "excel 匯出",
                "print" => '列印',
            ],
            "payAgeAnalysis" => [
                "name" => "應付帳齡分析",
                "see" => "查詢",
                "export" => "excel 匯出",
                "print" => '列印',
            ],
            "otherDetails" => [
                "name" => "其他收支明細表",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            // "accountBalance" => [
            // "name" => "銀行帳戶餘額",
            // "see" => "查詢",
            // "export" => "excel 匯出",
            // ],
            // "profit" => [
            // "name" => "收支平衡",
            // "see" => "查詢自己",
            // "seeAll" => "查詢全部",
            // "export" => "excel 匯出",
            // ],
        ],
    ],
    '設定' => [
        "基礎設定" => [

            "subject" => [
                "name" => "科目",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "import" => "excel 導入",
                "export" => "excel 匯出",
            ],
            "initialization" => [
                "name" => "期初",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "import" => "excel 導入",
                "export" => "excel 匯出",
            ],
            'voucherWord' => [
                "name" => "憑證字",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "currency" => [
                "name" => "幣別",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            'voucherModel' => [
                "name" => "憑證範本",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            'businessVoucherSetting' => [
                "name" => "業務憑證設定",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "account" => [
                "name" => "現金帳戶",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "accountBank" => [
                "name" => "銀行存款帳戶",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "cla" => "account",
                "fun" => "bank",
            ],
        ],
        '輔助核算' => [
            "assistAccount" => [
                "name" => "客戶輔助會計",
                "see" => "查詢",
                "cla" => "clientProfile",
                "fun" => "home",
            ],
            "assistAccountSupplier" => [
                "name" => "供應商輔助會計",
                "see" => "查詢",
                "cla" => "supplier",
                "fun" => "home",
            ],
            "assistAccountStaff" => [
                "name" => "員工輔助會計",
                "see" => "查詢",
                "cla" => "staffProfiles",
                "fun" => "home",
            ],
            "assistAccountDepartment" => [
                "name" => "部門輔助會計",
                "see" => "查詢",
                "cla" => "department",
                "fun" => "home",
            ],
            "project" => [
                "name" => "項目輔助會計",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "assistAccountMaterial" => [
                "name" => "存貨輔助會計",
                "see" => "查詢",
                "cla" => "material",
                "fun" => "home",
            ],
            "cash" => [
                "name" => "現金流量輔助會計",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
        ]
    ],
];

$powerAllTC["個人中心"] = [
    '我的' => [
        "個人資料" => [
            "my" => [
                "name" => "個人檔案",
                "see" => "查詢",
                'templateEdit' => '匯入匯出範本編輯',
                'templateDel' => '匯入匯出範本刪除',
            ],
            "workSign" => [
                "name" => "我的考勤",
                "see" => "查詢自己",
                "seeAll" => "查詢全部",
            ],
        ],
        "我的待辦" => [
            "backlog" => [
                "name" => "待處理",
                "see" => "查詢自己",
            ],
            "backlogProcessed" => [
                "name" => "已處理",
                "see" => "查詢自己",
                "cla" => "backlog",
                "fun" => "processed",
            ],
        ],
        "我的消息" => [
            "message" => [
                "name" => "待閱",
                "see" => "查詢自己",
            ],
            "messageProcessed" => [
                "name" => "已閱",
                "see" => "查詢自己",
                "cla" => "message",
                "fun" => "processed",
            ],
        ],
        "我的審核" => [
            "initiateApproval" => [
                "name" => "發起審核",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "myInitiated" => [
                "name" => "我發起的",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "myApproved" => [
                "name" => "我審核的",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "notifyMe" => [
                "name" => "抄送我的",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
        ],
        "我的考試" => [
            "beTested" => [
                "name" => "待考試",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "tested" => [
                "name" => "已考",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
        ],
        "我的工作報告" => [
            "workReportDay" => [
                "name" => "日報",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "workReportWeek" => [
                "name" => "週報",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "workReportMonth" => [
                "name" => "月報",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
        ],

    ],
    '公共' => [
        "通訊錄" => [
            "contactStaff" => [
                "name" => "員工通訊錄",
                "see" => "查詢",
                "export" => "excel 匯出",
            ],
            "contacts" => [
                "name" => "公用通訊錄",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
        ],
    ]
];

$powerAllTC["應用中心"] = [
    '權限控制' => [
        '帳套' => [
            "company" => [
                "name" => "帳套",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "delAll" => "清空帳套(除設定中的資料)",
            ],
        ],
        '角色' => [
            "role" => [
                "name" => "角色管理",
                "see" => "查詢",
                "edit" => "增改刪",
                "power" => "權限設定",
            ],
        ],
        '使用者' => [
            "user" => [
                "name" => "使用者管理",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "state" => "啟動停用",
            ],
        ]
    ],
    '基礎設定' => [
        "流程引擎" => [
            "examine" => [
                "name" => "流程設定",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],

        ],
        "訊息提醒" => [
            "reminderSetting" => [
                "name" => "訊息提醒設定",
                "see" => "查詢",
                "edit" => "編輯",
            ],
        ],
        "選項設定" => [
            "optionSetting" => [
                "name" => "選項設定",
                "see" => "查詢",
                "edit" => "編輯",
            ],
        ],
        "個人化設定" => [
            "printTemplate" => [
                "name" => "列印設定",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "state" => "啟動停用",
            ],
            "codeTemplate" => [
                "name" => "編碼設定",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
                "state" => "啟動停用",
            ],
        ],
        "系統設定" => [
            "log" => [
                "name" => "系統日誌",
                "see" => "查詢自己",
                "seeAll" => "查詢全部",
                "del" => "刪除日誌",
            ],
            "dictionary" => [
                "name" => "資料字典",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
            "prompt" => [
                "name" => "系統提示",
                "see" => "查詢",
                "edit" => "編輯",
            ],
            "para" => [
                "name" => "系統參數",
                "see" => "查詢",
                "edit" => "編輯",
            ],
            "img" => [
                "name" => "圖片設定",
                "see" => "查詢",
                "edit" => "編輯",
                "del" => "刪除",
            ],
        ],
    ],
    '期初設定' => [
        '銷售期初' => [
            "clientDefault" => [
                "name" => "客戶期初設定",
                "see" => "查詢",
                "del" => "刪除",
                'import' => 'excel導入',
                "export" => "excel匯出",
                "cla" => "inventoryDefault",
                "fun" => "client",
            ],
        ],
        '採購期初' => [
            "supplierDefault" => [
                "name" => "供應商期初設定",
                "see" => "查詢",
                "del" => "刪除",
                'import' => 'excel導入',
                "export" => "excel匯出",
                "cla" => "inventoryDefault",
                "fun" => "supplier",
            ],
        ],
        '庫存期初' => [
            "inventoryDefault" => [
                "name" => "庫存期初步設定",
                "see" => "查詢",
                "del" => "刪除",
                "edit" => "編輯",
                'import' => 'excel導入',
                "export" => "excel匯出",
            ],
        ],
    ],
];

/*****************************************************/
// 定义权限-英文
$powerAllEN                    = [];
$powerAllEN["Human Resources"] = [
    "Organizational Structure" => [
        'Business Documents' => [
            "department"    => [
                "name" => "Department",
                "see"  => "View",
                "edit" => "Edit",
            ],
            "job"           => [
                "name"   => "Job",
                "see"    => "View",
                "edit"   => "Edit",
                "del"    => "Delete",
                "import" => "Import from Excel",
                "export" => "Export to Excel",
            ],
            "staffProfiles" => [
                "name"          => "Staff Profiles",
                "see"           => "View",
                "edit"          => "Edit",
                "del"           => "Delete",
                "audit"         => "Audit",
                "import"        => "Import from Excel",
                "export"        => "Export to Excel",
                "interviewEdit" => "Add Evaluation Record",
                "interviewDel"  => "Delete Evaluation Record",
            ],
        ]
    ],
    "Recruitment"              => [
        'Business Documents' => [
            "recruitment"     => [
                "name"   => "Recruitment Demands",
                "see"    => "View Own",
                "seeAll" => "View All",
                "edit"   => "Edit",
                "del"    => "Delete",
            ],
            "recruitmentPlan" => [
                "name"   => "Recruitment Plan",
                "see"    => "View Own",
                "seeAll" => "View All",
                "edit"   => "Edit",
                "del"    => "Delete",
            ],
            "talentPool"      => [
                "name"          => "Talent Pool",
                "see"           => "View",
                "edit"          => "Edit",
                "del"           => "Delete",
                "interviewEdit" => "Add Interview Record",
                "interviewDel"  => "Delete Interview Record",
                "newFollow"     => "Add Follow-up Record",
                "delFollow"     => "Delete Follow-up Record",
                "import"        => "Import from Excel",
                "export"        => "Export to Excel",
            ],
        ]

    ],
    "Labor Relations"          => [
        'Business Documents' => [
            "staffEntryRecord" => [
                "name" => "Entry Records",
                "see"  => "View",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
            "staffFormal"      => [
                "name"   => "Formalization Records",
                "see"    => "View Own",
                "seeAll" => "View All",
                "edit"   => "Edit",
                "del"    => "Delete",
            ],
            "jobApply"         => [
                "name"   => "Job Change Records",
                "see"    => "View Own",
                "seeAll" => "View All",
                "edit"   => "Edit",
                "del"    => "Delete",
            ],
            "staffInjury"      => [
                "name"   => "Work Injury Management",
                "see"    => "View Own",
                "seeAll" => "View All",
                "edit"   => "Edit",
                "del"    => "Delete",
            ],
            "staffStayRecord"  => [
                "name"    => "Suspension Records",
                "see"     => "View Own",
                "seeAll"  => "View All",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm Suspension",
            ],
            "staffQuitRecord"  => [
                "name"    => "Resignation Records",
                "see"     => "View Own",
                "seeAll"  => "View All",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm Resignation",
            ],
            "workContract"     => [
                "name" => "Employment Contracts",
                "see"  => "View",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
        ],
        'Social Insurance'   => [
            "workInsure"          => [
                "name" => "To Be Insured",
                "see"  => "View",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
            "workInsureSigning"   => [
                "name" => "Insured",
                "see"  => "View",
                "cla"  => "workInsure",
                "fun"  => "Signing",
            ],
            "workInsureEffecting" => [
                "name" => "To Be Stopped",
                "see"  => "View",
                "cla"  => "workInsure",
                "fun"  => "Effecting",
            ],
            "workInsureEnding"    => [
                "name" => "Stopped",
                "see"  => "View",
                "cla"  => "workInsure",
                "fun"  => "Ending",
            ],
        ]
    ],
    "Training"                 => [
        'Business Documents' => [
            "trainingPlan"   => [
                "name"   => "Training Plans",
                "see"    => "View Own",
                "seeAll" => "View All",
                "edit"   => "Edit",
                "del"    => "Delete",
                "import" => "Import from Excel",
                "export" => "Export to Excel",
            ],
            "trainingRecord" => [
                "name" => "Training Records",
                "see"  => "View",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
            "regulation"     => [
                "name"   => "Regulations",
                "see"    => "View",
                "seeAll" => "View All",
            ],
        ]
    ],
    "Examination"              => [
        'Question Bank'    => [
            "topicLibrary"    => [
                "name"   => "Topic Library Management",
                "see"    => "View",
                "edit"   => "Edit",
                "del"    => "Delete",
                'import' => "Import from Excel",
                'export' => "Export to Excel"
            ],
            "topicManagement" => [
                "name" => "Question Management",
                "see"  => "View",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
        ],
        'Paper Management' => [
            "paperManagement" => [
                "name"   => "Exam Papers",
                "see"    => "View",
                "edit"   => "Edit",
                "del"    => "Delete",
                "cancel" => "Cancel",
            ],
            "examRecord"      => [
                "name"   => "Exam Records",
                "see"    => "View",
                "edit"   => "Edit",
                "del"    => "Delete",
                "export" => "Export to Excel",
            ],
        ]

    ],
    "Performance"              => [
        'Business Documents' => [
            "performanceRule"  => [
                "name" => "Performance Rules",
                "see"  => "View",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
            "performanceAim"   => [
                "name"   => "Performance Goals",
                "see"    => "View",
                "edit"   => "Edit",
                "del"    => "Delete",
                "import" => "Import from Excel",
                "export" => "Export to Excel",
            ],
            "performanceScore" => [
                "name"   => "Performance Scores",
                "see"    => "View Own",
                "seeAll" => "View All",
                "edit"   => "Edit",
                "del"    => "Delete",
            ],
        ]
    ],
    "Work Reports"             => [
        'Business Documents' => [
            "dayRecord"   => [
                "name" => "Daily Report Records",
                "see"  => "View",
            ],
            "weekRecord"  => [
                "name" => "Weekly Report Records",
                "see"  => "View",
            ],
            "monthRecord" => [
                "name" => "Monthly Report Records",
                "see"  => "View",
            ],
        ]

    ],
    "Attendance"               => [
        'Workday Settings'   => [
            "workDay" => [
                "name" => "Workday Settings",
                "see"  => "View",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
            "holiday" => [
                "name" => "Holiday Settings",
                "see"  => "View",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
        ],
        'Attendance Rules'   => [
            "clockRule" => [
                "name" => "Attendance Rules",
                "see"  => "View",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
            "scheduler" => [
                "name"   => "Scheduling",
                "see"    => "View",
                "edit"   => "Edit",
                "del"    => "Delete",
                "export" => "Export to Excel",
            ],
        ],
        'Attendance Records' => [
            "workSignAdd"     => [
                "name"   => "Clock-in Records",
                "see"    => "View Own",
                "seeAll" => "View All",
                "edit"   => "Edit",
                "del"    => "Delete",
            ],
            "work"            => [
                "name"   => "Leave Records",
                "see"    => "View Own",
                "seeAll" => "View All",
                "edit"   => "Edit",
                "del"    => "Delete",
            ],
            "workOut"         => [
                "name"   => "Out of Office Records",
                "see"    => "View Own",
                "seeAll" => "View All",
                "edit"   => "Edit",
                "del"    => "Delete",
            ],
            "bussinessTrip"   => [
                "name"   => "Business Trip Records",
                "see"    => "View Own",
                "seeAll" => "View All",
                "edit"   => "Edit",
                "del"    => "Delete",
            ],
            "workAdd"         => [
                "name"   => "Overtime Records",
                "see"    => "View Own",
                "seeAll" => "View All",
                "edit"   => "Edit",
                "del"    => "Delete",
                "export" => "Export to Excel",
            ],
            "clockStatistics" => [
                "name"   => "Attendance Details",
                "see"    => "View",
                "import" => "Import from Excel",
                "export" => "Export to Excel",
                "del" => "Delete",
            ],
            "clockCollect"    => [
                "name"   => "Attendance Summary",
                "see"    => "View",
                "cla"    => "clockStatistics",
                "fun"    => "Collect",
                "export" => "Export to Excel",
            ],
        ],
    ],
    "Payroll"                  => [
        'Salary Rules'       => [
            "salaryRule" => [
                "name" => "Salary Rules",
                "see"  => "View",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
        ],
        'Salary Calculation' => [
            "workSignCheck"       => [
                "name" => "Attendance Check - To Be Checked",
                "see"  => "View",
                "edit" => "Check",
            ],
            "checkRecord"         => [
                "name"   => "Attendance Check - Checked",
                "see"    => "View",
                "cla"    => "workSignCheck",
                "fun"    => "Check Record",
                "del"    => "Revoke",
                "export" => "Export to Excel",
            ],
            "insure"              => [
                "name"   => "Social Insurance Calculation",
                "see"    => "View",
                "edit"   => "Edit",
                "del"    => "Delete",
                "import" => "Import from Excel",
                "export" => "Export to Excel",
            ],
            "providentFund"       => [
                "name" => "Provident Fund Deductions",
                "see"  => "View",
                "edit" => "Edit",
            ],
            "providentFundRecord" => [
                "name" => "Provident Fund Records",
                "see"  => "View",
                "del"  => "Delete",
                "cla"  => "providentFund",
                "fun"  => "Deduction",
            ],
            "personalTax"         => [
                "name"   => "Personal Income Tax Records",
                "see"    => "View",
                "del"    => "Delete",
                "import" => "Import from Excel",
            ],
            "paySlip"             => [
                "name"   => "Pay Slips",
                "see"    => "View",
                "edit"   => "Edit",
                "del"    => "Delete",
                "pay"    => "Pay",
                "export" => "Export to Excel",
                'print'  => 'Print',
            ],
        ]
    ],

    "Labor Dispatch" => [
        'Business Documents' => [
            "laborCompany"   => [
                "name"      => "Labor Dispatch Companies",
                "see"       => "View",
                "edit"      => "Edit",
                "del"       => "Delete",
                "import"    => "Import from Excel",
                "export"    => "Export to Excel",
                'staffEdit' => 'Add Contact',
                'staffDel'  => 'Delete Contact',
                'fileAdd'   => 'Add Attachment',
                'fileDel'   => 'Delete Attachment',
            ],
            "laborAgreement" => [
                "name" => "Labor Dispatch Agreements",
                "see"  => "View",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
            "labor"          => [
                "name"   => "Labor Roster",
                "see"    => "View",
                "edit"   => "Edit",
                "export" => "Export to Excel",
            ],
            "laborSalary"    => [
                "name" => "Labor Compensation Lists",
                "see"  => "View",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
            "laborSettle"    => [
                "name"   => "Dispatch Settlement",
                "see"    => "View",
                "export" => "Export to Excel",
            ],
        ]
    ],
    "Reports"        => [
        'Statistical Charts' => [
            'personnelStructure'   => [
                "name" => "Personnel Structure",
                "see"  => "View",
            ],
            'personnelDynamics'    => [
                "name" => "Personnel Dynamics",
                "see"  => "View",
            ],
            'attendanceStatistics' => [
                "name" => "Attendance Statistics",
                "see"  => "View",
            ],
            'wageStatistics'       => [
                "name" => "Wage Statistics",
                "see"  => "View",
            ],
        ]
    ],

];

$powerAllEN["administration"] = [
    "Material"                => [
        'Business Documents' => [
            "resource"         => [
                "name"   => "Material Files",
                "see"    => "View",
                "edit"   => "Edit",
                "del"    => "Delete",
                "import" => "Import from Excel",
                "export" => "Export to Excel",
            ],
            "materialPurchase" => [
                "name"   => "Material Purchase Request",
                "see"    => "View Self",
                "seeAll" => "View All",
                "edit"   => "Edit",
                "del"    => "Delete",
            ],
            "materialIn"       => [
                "name"    => "Material Inbound",
                "see"     => "View",
                "edit"    => "Edit",
                "del"     => "Delete",
                'confirm' => 'Confirm',
            ],
            "materialOut"      => [
                "name"    => "Material Outbound",
                "see"     => "View Self",
                "seeAll"  => "View All",
                "edit"    => "Edit",
                "del"     => "Delete",
                'confirm' => 'Confirm',
            ],
        ]
    ],
    "Vehicle"                 => [
        'Business Documents' => [
            "driver"    => [
                "name"   => "Driver Files",
                "see"    => "View",
                "edit"   => "Edit",
                "del"    => "Delete",
                "import" => "Import from Excel",
                "export" => "Export to Excel",
            ],
            "car"       => [
                "name"   => "Vehicle Files",
                "see"    => "View",
                "edit"   => "Edit",
                "del"    => "Delete",
                "import" => "Import from Excel",
                "export" => "Export to Excel",
            ],
            "carRecord" => [
                "name"   => "Vehicle Usage Records",
                "see"    => "View Self",
                "seeAll" => "View All",
                "edit"   => "Edit",
                "del"    => "Delete",
            ],
            "carFee"    => [
                "name"   => "Vehicle Expenses",
                "see"    => "View Self",
                "seeAll" => "View All",
                "export" => "Export to Excel",
            ],
        ]
    ],
    "Meeting Room"            => [
        'Business Documents' => [
            "meeting"       => [
                "name"   => "Meeting Room Files",
                "see"    => "View",
                "edit"   => "Edit",
                "del"    => "Delete",
                "import" => "Import from Excel",
                "export" => "Export to Excel",
            ],
            "meetingApply"  => [
                "name" => "Meeting Room Application",
                "see"  => "View",
            ],
            "meetingRecord" => [
                "name"   => "Meeting Room Usage Records",
                "see"    => "View Self",
                "seeAll" => "View All",
                "edit"   => "Edit",
                "del"    => "Delete",
            ],
        ],
    ],
    "Contract"                => [
        'Business Documents' => [
            "contract" => [
                "name"    => "Contract List",
                "see"     => "View Self",
                "seeAll"  => "View All",
                "edit"    => "Edit",
                "del"     => "Delete",
                'archive' => 'Add to Archive',
            ],
        ],
    ],
    "Official Document"       => [
        'Document Configuration' => [
            "officialDocumentModel" => [
                "name" => "Document Template",
                "see"  => "View",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
        ],
        'Outgoing Document'      => [
            "officialDocumentSend"  => [
                "name"   => "Outgoing Document - Drafting",
                "see"    => "View Self",
                "seeAll" => "View All",
                "edit"   => "Edit",
                "del"    => "Delete",
            ],
            "officialDocumentAudit" => [
                "name"   => "Outgoing Document - Under Review",
                "see"    => "View Self",
                "seeAll" => "View All",
                'issued' => 'Issue',
                "cla"    => "officialDocumentSend",
                "fun"    => "documentAudit",
            ],
            "officialIssued"        => [
                "name"      => "Outgoing Document - Issued",
                "see"       => "View Self",
                "seeAll"    => "View All",
                'cancel'    => 'Cancel',
                'abandoned' => 'Abandon',
                'archive'   => 'Add to Archive',
                "cla"       => "officialDocumentSend",
                "fun"       => "issued",
            ],
            "officialRevoke"        => [
                "name"    => "Outgoing Document - Revoked",
                "see"     => "View Self",
                "seeAll"  => "View All",
                'archive' => 'Add to Archive',
                "cla"     => "officialDocumentSend",
                "fun"     => "revoke",
            ],
            "officialAbolished"     => [
                "name"    => "Outgoing Document - Abolished",
                "see"     => "View Self",
                "seeAll"  => "View All",
                'archive' => 'Add to Archive',
                "cla"     => "officialDocumentSend",
                "fun"     => "abolished",
            ],
            "officialall"           => [
                "name"   => "Outgoing Document - All",
                "see"    => "View Self",
                "seeAll" => "View All",
                "cla"    => "officialDocumentSend",
                "fun"    => "all",
            ],
        ],
        'Incoming Document'      => [
            "officialDocumentGet"  => [
                "name" => "Incoming Document - Pending Receipt",
                "see"  => "View",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
            "documentGetPending"   => [
                "name" => "Incoming Document - Pending Processing",
                "see"  => "View",
                "cla"  => "officialDocumentGet",
                "fun"  => "pending",
            ],
            "documentGetProcess"   => [
                "name" => "Incoming Document - In Process",
                "see"  => "View",
                "edit" => "Remind",
                "cla"  => "officialDocumentGet",
                "fun"  => "process",
            ],
            "documentGetCompleted" => [
                "name"    => "Incoming Document - Completed",
                "see"     => "View",
                'archive' => 'Add to Archive',
                "cla"     => "officialDocumentGet",
                "fun"     => "completed",
            ],
            "documentGetAll"       => [
                "name" => "Incoming Document - All",
                "see"  => "View",
                "cla"  => "officialDocumentGet",
                "fun"  => "all",
            ],
        ]
    ],
    "Badge"                   => [
        'Certificate' => [
            "certificate"             => [
                "name" => "Certificate File",
                "see"  => "Query",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
            "certificateBorrow"       => [
                "name"    => "Certificate Borrow",
                "see"     => "Query Yourself",
                "seeAll"  => "Query All",
                "edit"    => "Edit",
                "del"     => "Delete",
                "borrow"  => "Borrow",
                "copy"    => "Copy",
                "warrant" => "Temporary Authorization",
            ],
            "certificateBorrowRecord" => [
                "name"   => "Certificate Borrow Record",
                "see"    => "Query Yourself",
                "seeAll" => "Query All",
                "cla"    => "certificateBorrow",
                "fun"    => "borrowed",
            ],
            "certificateBack"         => [
                "name" => "Certificate Return",
                "see"  => "Query",
                "edit" => "Edit",
            ],
            "certificateBackRecord"   => [
                "name" => "Certificate Back Record",
                "see"  => "Query",
                "cla"  => "certificateBack",
                "fun"  => "borrowed",
            ],
        ],
        'Stamp'       => [
            "seal"                => [
                "name" => "Stamp Archive",
                "see"  => "Query",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
            "sealRecord"          => [
                "name"   => "Seal Application Record",
                "see"    => "Query Yourself",
                "seeAll" => "Query All",
                "edit"   => "Edit",
                "del"    => "Delete",
            ],
            "stampRecord"         => [
                "name" => "Stamp to be used",
                "see"  => "Query",
                "edit" => "Edit",
            ],
            "stampRecordBorrowed" => [
                "name" => "Stamp to be returned",
                "see"  => "Query",
                "cla"  => "stampRecord",
                "fun"  => "borrowed",
            ],
            "stampRecordAll"      => [
                "name"   => "Stamp record",
                "see"    => "Query",
                "cla"    => "stampRecord",
                "fun"    => "all",
                "export" => "excel export",
            ],
        ],
    ],
    "archive"                 => [
        'Business document' => [
            "archive"             => [
                "name" => "archive",
                "see"  => "Query",
                "edit" => "Edit",
            ],
            "dossier"             => [
                "name"   => "archive",
                "see"    => "Query yourself",
                "seeAll" => "Query all",
                "edit"   => "Edit",
                "del"    => "Delete",
                "import" => "excel import",
                "export" => "excel export",
                "print"  => "Print",
            ],
            "cabinet"             => [
                "name" => "archive storage",
                "see"  => "query",
                "edit" => "edit",
                "del"  => "delete",
            ],
            "archiveBorrow"       => [
                "name"    => "archive borrowing",
                "see"     => "query yourself",
                "seeAll"  => "query all",
                "edit"    => "edit",
                "del"     => "delete",
                "borrow"  => "borrow",
                "copy"    => "copy",
                "warrant" => "temporary authorization",
            ],
            "archiveBorrowRecord" => [
                "name"   => "archive borrowing record",
                "see"    => "query yourself",
                "seeAll" => "query all",
                "cla"    => "archiveBorrow",
                "fun"    => "borrowed",
            ],
            "archiveReturn"       => [
                "name" => "archive return",
                "see"  => "query",
                "edit" => "edit",
            ],
            "archiveReturnRecord" => [
                "name" => "Archive Return Record",
                "see"  => "Query",
                "cla"  => "archiveReturn",
                "fun"  => "borrowed",
            ],
            "archiveRuin"         => [
                "name" => "Archive Destruction",
                "see"  => "Query",
                "edit" => "Edit",
                "del"  => "Remove",
                "ruin" => "Destroy",
            ],
            "archiveRuinRecord"   => [
                "name" => "Archive Destruction Record",
                "see"  => "Query",
                "cla"  => "archiveRuin",
                "fun"  => "ruined",
            ],
        ],

    ],
    "Visitor"                 => [
        'Business Document' => [
            "visitor" => [
                "name"   => "Visitor Registration",
                "see"    => "Query",
                "edit"   => "Edit",
                "del"    => "Delete",
                "import" => "excel import",
                "export" => "excel Export",
            ],
        ],

    ],
    "canteen"                 => [
        'Business document' => [
            "diningHall"      => [
                "name" => "canteen settings",
                "see"  => "query",
                "edit" => "edit",
                "del"  => "delete",
            ],
            "diningMenu"      => [
                "name" => "dish file",
                "see"  => "query",
                "edit" => "edit",
                "del"  => "delete",
            ],
            "weekMenu"        => [
                "name" => "weekly menu",
                "see"  => "query",
                "edit" => "edit",
                "del"  => "delete",
            ],
            "mealOrderRecord" => [
                "name"   => "meal report record",
                "see"    => "query",
                "export" => "export",
            ],
            "dishesCollect"   => [
                "name" => "dish summary",
                "see"  => "query",
                "cla"  => "mealOrderRecord",
                "fun"  => "ruined",
            ],
            "takeMealRecord"  => [
                "name"   => "Meal Take Record",
                "see"    => "Query",
                "export" => "Export",
            ],
        ],
        'Statistics'        => [
            "mealStatistics"   => [
                "name"   => "Meal Take Statistics",
                "see"    => "Query",
                "export" => "Export",
            ],
            "peopleStatistics" => [
                "name"   => "Summary by Person",
                "see"    => "Query",
                "export" => "Export",
                "cla"    => "mealStatistics",
                "fun"    => "people",
            ],
            "foodStatistics"   => [
                "name"   => "Summary by Meal",
                "see"    => "Query",
                "export" => "Export",
                "cla"    => "mealStatistics",
                "fun"    => "food",
            ],
            "canteen"          => [
                "name"    => "Canteen Purchase Record",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm",
            ],
            "canteenPay"       => [
                "name"   => "Purchase Payment Statistics",
                "see"    => "Query",
                "export" => "Export",
            ]
        ],
        'Evaluation'        => [
            "canteenEvaluate" => [
                "name"   => "Canteen Evaluation",
                "see"    => "Query",
                "export" => "Excel Export",
            ],
        ]
// "mealRecord" => [
// "name" => "Meal Record",
// "see" => "Query",
// "edit" => "Edit",
// "del" => "Delete",
// "import" => "Excel Import",
// "export" => "Excel Export",
// ],
    ],
    "Accommodation"           => [
        'Business Documents' => [
            "dormitory"          => [
                "name" => "Dormitory File",
                "see"  => "Query",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
            "dormitoryRecord"    => [
                "name" => "Accommodation Record",
                "see"  => "Query",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
            'dormitoryState'     => [
                "name" => "Dormitory Status Map",
                "see"  => "Query",
            ],
            "checkLiveRecord"    => [
                "name" => "Check Dormitory Record",
                "see"  => "Query",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
            "dormitoryFeeRecord" => [
                "name" => "Dormitory Fee Record",
                "see"  => "Query",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
        ],
        'Statistics'         => [
            "dormitoryFeeStatistics" => [
                "name" => "Accommodation Fee Statistics",
                "see"  => "Query",
                "edit" => "Edit",
                "del"  => "delete",
            ],
        ]
    ],
    'Audit'                   => [
        'Business Document' => [
            "checkPlan"          => [
                "name" => "Audit Plan",
                "see"  => "Query",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
            "inspection"         => [
                "name" => "Audit Record",
                "see"  => "Query",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
            "inspectionDetail"   => [
                "name"   => "Audit Record-Pending Notification",
                "see"    => "Query",
                "edit"   => "Edit",
                "export" => "Excel Export",
            ],
            "inspectionNotified" => [
                "name"   => "Audit Record-Notified",
                "see"    => "Query",
                "export" => "Excel Export",
                "cla"    => "inspectionDetail",
                "fun"    => "notified",
            ],
            "inspectionFedBack"  => [
                "name"   => "Audit record-Feedback",
                "see"    => "Query",
                "export" => "Excel export",
                "cla"    => "inspectionDetail",
                "fun"    => "fedBack",
            ],
            "inspectionPassed"   => [
                "name"   => "Audit record-Verification passed",
                "see"    => "Query",
                "export" => "Excel export",
                "cla"    => "inspectionDetail",
                "fun"    => "passed",
            ],
            "inspectionFail"     => [
                "name"   => "Audit record-Verification failed",
                "see"    => "Query",
                "export" => "Excel export",
                "cla"    => "inspectionDetail",
                "fun"    => "fail",
            ],
            "inspectionClose"    => [
                "name"   => "Audit record-Closed",
                "see"    => "Query",
                "export" => "Excel export",
                "cla"    => "inspectionDetail",
                "fun"    => "close",
            ],
            "inspectionAll"      => [
                "name"   => "Audit Record-All",
                "see"    => "Query",
                "export" => "Excel Export",
                "cla"    => "inspectionDetail",
                "fun"    => "all",
            ],
            "rectification"      => [
                "name" => "Rectification Notice",
                "see"  => "Query",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
        ],
        'Statistics'        => [
            "checkStatistics" => [
                "name"   => "Audit Statistics",
                "see"    => "Query",
                "export" => "Excel Export",
            ],
        ]
    ],
    "Rewards and Punishments" => [
        "Business Documents" => [
            "rewards" => [
                "name"   => "Rewards and Punishments Records",
                "see"    => "Check Yourself",
                "seeAll" => "View All",
                "edit"   => "Edit",
                "del"    => "Delete",
            ],
        ],

    ],

    "General Approval"    => [
        'Business Document' => [
            "generalAudit" => [
                "name"   => "General Approval Record",
                "see"    => "View Myself",
                "seeAll" => "View All",
                "edit"   => "Edit",
                "del"    => "Delete",
            ],
        ],

    ],
    "Mission"             => [
        'Business Document' => [
            "mission"      => [
                "name"   => "My Responsibility",
                "see"    => "View Myself",
                "seeAll" => "View All",
            ],
            "joinMission"  => [
                "name"   => "My Participation",
                "see"    => "Query",
                "seeAll" => "View All",
                "cla"    => "mission",
                "fun"    => "joinMission",
            ],
            "tellMission"  => [
                "name"   => "Notify Me",
                "see"    => "Query",
                "seeAll" => "View All",
                "cla"    => "mission",
                "fun"    => "tellMission",
            ],
            "startMission" => [
                "name"   => "I initiated",
                "see"    => "Query",
                "seeAll" => "See all",
                "edit"   => "Edit",
                "del"    => "Delete",
                "cla"    => "mission",
                "fun"    => "startMission",
            ],
        ],

    ],
    "Information release" => [
        'Business document' => [
            "notification" => [
                "name"   => "Company notification",
                "see"    => "See yourself",
                "seeAll" => "See all",
                "edit"   => "Edit",
                "del"    => "Delete",
            ],
            "news"         => [
                "name"   => "Company dynamics",
                "see"    => "See yourself",
                "seeAll" => "See all",
                "edit"   => "Edit",
                "del"    => "Delete",
            ],
        ],

    ],
    "Learning Garden"     => [
        'Business Document' => [
            "documentCatalog"    => [
                "name" => "Document Catalog",
                "see"  => "Query",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
            "documentManagement" => [
                "name" => "Document",
                "see"  => "Query",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
            "documentCenter"     => [
                "name" => "Document Center",
                "see"  => "Query",
            ],
        ],

    ],
    "File"                => [
        'Business Document' => [
            "file"  => [
                "name"      => "Attachment",
                "see"       => "Query",
                "seeAll"    => "View All",
                "edit"      => "Edit",
                "seeSecret" => "Confidential Document",
            ],
            "share" => [
                "name"  => "Shared File",
                "see"   => "Query",
                "edit"  => "Edit",
                "del"   => "delete",
                "power" => "authorization control",
                "zip"   => "compress",
            ],
        ],
    ],
];

$powerAllEN["Sales Management"] = [
    'Order Store'             => [
        'Business Document' => [
            "productSetupStore" => [
                "name" => "Product Settings",
                "see"  => "Query",
                "edit" => "Edit",
            ],
            "clientStore"       => [
                "name"  => "Customer Account",
                "see"   => "Query",
                "edit"  => "Edit",
                "del"   => "Delete",
                "state" => "Enable and Disable",
            ],
            "orderStore"        => [
                "name"    => "Order",
                "see"     => "Query",
// "edit" => "Edit",
// "del" => "Delete",
                "confirm" => "Confirm",
            ],
            "announcementStore" => [
                "name" => "Mall Announcement",
                "see"  => "Query",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
        ]
    ],
// 'Enterprise Micro Management' => [
// "Live Code" => [
// "name" => "Live Code",
// "see" => "Query",
// "edit" => "Edit",
// "del" => "Delete",
// ],
// "Enterprise Micro Client" => [
// "name" => "Enterprise Micro Client",
// "see" => "Query",
// "edit" => "Edit",
// "del" => "Delete",
// ],
// "Enterprise Micro Client Group" => [
// "name" => "Enterprise Micro Client Group",
// "see" => "Query",
// "edit" => "Edit",
// "del" => "Delete",
// ],
// "Material Management" => [
// "name" => "Material Management",
// "see" => "Query",
// "edit" => "Edit",
// "del" => "Delete",
// ],
// "Session Archive" => [
// "name" => "Session Archive",
// "see" => "Query",
// "edit" => "Edit",
// "del" => "Delete",
// ],
// "Separation and succession" => [
// "name" => "Inheritance upon leaving",
// "see" => "Query",
// "edit" => "Edit",
// "del" => "Delete",
// ],
// "Inheritance in service" => [
// "name" => "Inheritance upon employment",
// "see" => "Query",
// "edit" => "Edit",
// "del" => "Delete",
// ],
// "Deletion of customer risk control" => [
// "name" => "Delete of customer risk control",
// "see" => "Query",
// "edit" => "Edit",
// "del" => "Delete",
// ],
// ],
    'Customer Management'     => [
        'Sales Leads'       => [
            "clue"            => [
                "name"      => "My Leads",
                'admin'     => 'Admin Operations',
                "see"       => "Query",
                "edit"      => "Edit",
                "del"       => "Delete",
                "import"    => "Excel Import",
                'export'    => "Excel Export",
                'fileAdd'   => 'Attachment Add',
                'fileDel'   => 'Attachment Delete',
                'newFollow' => 'Follow Up Record Add',
                'delFollow' => 'Follow Up Record Delete',
            ],
            "clueCooperation" => [
                "name" => "My Collaboration",
                "see"  => "Query",
                "cla"  => "clue",
                "fun"  => "cooperation",
            ],
            "allClue"         => [
                "name"     => "All Leads",
                "see"      => "Query Yourself",
                "seeGroup" => "Query Subordinates",
                "seeAll"   => "Query all",
                "edit"     => "Edit",
                "cla"      => "clue",
                "fun"      => "allClue",
            ],
            "cluePool"        => [
                "name"   => "Clue pool",
                "see"    => "Query yourself",
                "seeAll" => "Query all",
                "edit"   => "Edit",
                "del"    => "Delete",
                "import" => "Excel import",
                'export' => "Excel export",
            ],
        ],
        'Customer profile'  => [
            "client"            => [
                "name"      => "My client",
                'admin'     => 'Administrator operation',
                "see"       => "Query",
                "edit"      => "Edit",
                "del"       => "Delete",
                "import"    => "Excel import",
                'export'    => "Excel export",
                'fileAdd'   => 'Attachment add',
                'fileDel'   => 'Attachment delete',
                'newFollow' => 'Follow up record add',
                'delFollow' => 'Follow up record deletion',
                'staffEdit' => 'Add contact',
                'staffDel'  => 'Delete contact',
            ],
            "clientCooperation" => [
                "name" => "My collaboration",
                "see"  => "Query",
                "cla"  => "client",
                "fun"  => "cooperation",
            ],
            "allClient"         => [
                "name"     => "All clients",
                "see"      => "Query yourself",
                "seeGroup" => "Query subordinates",
                "seeAll"   => "Query all",
                'admin'    => 'Administrator operation',
                "cla"      => "client",
                "fun"      => "allClue",
            ],
            "clientPool"        => [
                "name"   => "Public customer pool",
                "see"    => "Query yourself",
                "seeAll" => "Query all",
                "edit"   => "Edit",
                "del"    => "Delete",
                "import" => "excel import",
                'export' => "Excel export",
            ],
            "kehuStaff"         => [
                "name"   => "Contact",
                "see"    => "Search yourself",
                "seeAll" => "Search all",
                "import" => "Excel import",
                "export" => "Excel export",
            ],
            "vicinityClient"    => [
                "name" => "Nearby customers",
                "see"  => "Search",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
            "follow"            => [
                "name"   => "Follow up record",
                "see"    => "Search yourself",
                "seeAll" => "Search all",
                "export" => "Excel export",
            ],
            "visitPlan"         => [
                "name" => "Visitor plan",
                "see"  => "Search",
                "edit" => "Edit",
                "del"  => "Delete",
// "confirm" => "Confirm",
            ],
        ],
        'Opportunity'       => [
            "opportunity"            => [
                "name"      => "My Opportunity",
                "see"       => "Query",
                "edit"      => "Edit",
                "del"       => "Delete",
                "import"    => "Excel Import",
                "export"    => "Excel Export",
                'fileAdd'   => 'Attachment Add',
                'fileDel'   => 'Attachment Delete',
                'newFollow' => 'Follow Up Record Add',
                'delFollow' => 'Follow Up Record Delete',
            ],
            "opportunityCooperation" => [
                "name" => "My Collaboration",
                "see"  => "Query",
                "cla"  => "opportunity",
                "fun"  => "cooperation",
            ],
            "allOpportunity"         => [
                "name"     => "All Opportunities",
                'admin'    => 'Administrator Operation',
                "see"      => "Query Yourself",
                "seeGroup" => "Query Subordinates",
                "seeAll"   => "Query All",
                "cla"      => "opportunity",
                "fun"      => "allClue",
            ],
        ],
        'Customer Settings' => [
            "tag"               => [
                "name" => "Tag Settings",
                "see"  => "Query",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
// "keyAuthorization" => [
// "name" => "Key Authorization",
// "see" => "Query",
// "edit" => "Edit",
// "del" => "Delete",
// ],
// "SMSConfig" => [
// "name" => "SMS Settings",
// "see" => "Query",
// "edit" => "Edit",
// "del" => "Delete",
// ],
            "performanceTarget" => [
                "name" => "Performance Target Settings",
                "see"  => "Query",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
            "cluePoolSetting"   => [
                "name" => "Lead Pool Settings",
                "see"  => "Self",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
            "clientPoolSetting" => [
                "name" => "Customer Pool Settings",
                "see"  => "Query",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
        ],
        'Report'            => [
            "salesProcessStatistics"     => [
                "name" => "Sales Process Statistics",
                "see"  => "Query",
            ],
            "salesPerformanceStatistics" => [
                "name" => "Sales Performance Statistics",
                "see"  => "Query",
            ],
            "customerAnalysis"           => [
                "name" => "Customer Analysis",
                "see"  => "Query",
            ],
        ]
    ],
    'Sales Business'          => [
        'Quotation'      => [
            "quotations" => [
                "name"    => "Quotation",
                "see"     => "Self-query",
                "seeAll"  => "Self-query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
                "print"   => "Print",
            ],
        ],
        'Sales Contract' => [
            "salesContract" => [
                "name"    => "Sales Contract",
                "see"     => "Self-query",
                "seeAll"  => "Self-query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "fileAdd" => 'Attachment Upload',
                "fileDel" => 'Attachment Delete',
            ],
            "paybackPlan"   => [
                "name"   => "Payback Plan",
                "see"    => "Self-query",
// "edit" => "Edit",
// "del" => "Delete",
                "export" => "Excel Export",
            ],
        ],
        'Sales Forecast' => [
            "saleForecast" => [
                "name"    => "Sales Forecast",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
            ],
        ],
        'Sales Order'    => [
            "saleOrder" => [
                "name"    => "Sales Order",
                "see"     => "Query Yourself",
                "seeAll"  => "Query All",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
                'print'   => 'Print',
                "close"   => "Batch Close",
                "import"  => "Excel Import",
            ],
        ],
        'Sales Shipment' => [
            "saleSendOrder" => [
                "name"    => "Sales Shipment",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
                'print'   => 'Print',
            ],
        ],
        'Sales Return'   => [
            "saleRefundOrder" => [
                "name"    => "Sales Return Order",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
                'print'   => 'Print',
            ],
        ],
        'Sales Settings' => [
            "clientPriceList" => [
                "name"   => "Customer Price Book",
                "see"    => "Query",
                "edit"   => "Edit",
                "del"    => "Delete",
                "import" => "Excel Import",
                "export" => "Excel Export",
            ],
        ],
    ],
    'Sales Report'            => [
        'Execution'  => [
            "saleTrack" => [
                "name"   => "Sales Order Tracking Table",
                "see"    => "Query",
                "export" => "Excel Export",
            ],
        ],
        'Analysis'   => [
            "saleIncome" => [
                "name"   => "Sales Receipt List",
                "see"    => "Query",
                "export" => "Excel Export",
            ],
            "saleProfit" => [
                "name"   => "Sales Profit Statement",
                "see"    => "Query",
                "export" => "Excel Export",
            ],
        ],
        'Statistics' => [
            'salesReportForm'   => [
                "name" => "Sales Report",
                "see"  => "Query",
            ],
            "saleStatistics"    => [
                "name"   => "Sales Commodity Summary",
                "see"    => "Query",
                "export" => "Excel Export",
            ],
            "clientStatistics"  => [
                "name"   => "Sales Customer Summary",
                "see"    => "Query",
                "export" => "Excel Export",
                "cla"    => "saleStatistics",
                "fun"    => "client",
            ],
            "saleManStatistics" => [
                "name"   => "Salesman Summary",
                "see"    => "Query",
                "export" => "Excel Export",
                "cla"    => "saleStatistics",
                "fun"    => "saleMan",
            ],
            "saleSendStatistics" => [
                "name" => "Sales Shipment Summary",
                "see" => "Query",
                "export" => "Excel Export",
                "cla" => "saleStatistics",
                "fun" => "saleSend",
            ],
        ],
        'Details'    => [
            "saleOrderMx" => [
                "name"   => "Sales Details",
                "see"    => "Query",
                "export" => "Excel Export",
            ],
            "saleSendOrderMx" => [
                "name" => "Sales Shipping Details",
                "see" => "Query",
                "export" => "Excel Export",
            ],
        ],
    ],
    'After-sales Maintenance' => [
        'Business Documents' => [
            "installDebug"           => [
                "name"    => "Installation and Debugging",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => 'Confirm',
                "cancel"  => 'Withdraw',
            ],
            "aftermarketRegister"    => [
                "name"           => "Maintenance Registration",
                "see"            => "Query",
                "edit"           => "Edit",
                "del"            => "Delete",
                "registry"       => 'Registration',
                "registryCancel" => "Cancel Registration",
            ],
            "aftermarketAssign"      => [
                "name"          => "Maintenance to be dispatched",
                "see"           => "Query",
                "edit"          => "Edit",
                "del"           => "Delete",
                "assign"        => "Internal Assignment",
                "assignOutside" => "Outsourced Maintenance",
            ],
            "aftermarketAssignPart"  => [
                "name"         => "Maintenance Assigned",
                "see"          => "Query",
                "assignCancel" => "Cancel Assignment",
                "done"         => "Complete",
                "cla"          => "aftermarketAssign",
                "fun"          => "part",
            ],
            "aftermarketRecord"      => [
                "name" => "Repair Records Assigned",
                "see"  => "Query",
            ],
            "aftermarketRecordDone"  => [
                "name" => "Repair Records Completed",
                "see"  => "Query",
                "cla"  => "aftermarketRecord",
                "fun"  => "done",
            ],
            "aftermarketCollocation" => [
                "name"    => "Repair Request",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => 'Confirm',
                "cancel"  => 'Cancel',
                "print"   => "Print",
            ],
        ],
        'Statistics'         => [
            "aftermarketStatistics" => [
                "name"   => "Fault Statistics",
                "see"    => "Query",
                "export" => "Excel Export",
            ],
        ],
    ],
];

$powerAllEN["Purchasing Management"] = [
    'Supplier Management' => [
        'Basic File'       => [
            "supplier" => [
                "name"      => "Supplier File",
                "see"       => "Query",
                "seeAll"    => "Query All",
                "edit"      => "Edit",
                "del"       => "Delete",
                "import"    => "Excel Import",
                "export"    => "Excel Export",
                'staffEdit' => 'Add Contact',
                'staffDel'  => 'Delete Contact',
                'fileAdd'   => 'Add Attachment',
                'fileDel'   => 'Delete Attachment',
            ],
        ],
        'Price Management' => [
            "supplierPriceList" => [
                "name"   => "Supplier Price Book",
                "see"    => "Query",
                "edit"   => "Edit",
                "del"    => "Delete",
                "import" => "Excel Import",
                "export" => "Excel Export",
            ],
        ],
    ],
    'Purchasing Business' => [
        'Purchase Plan'       => [
            "purchaseDemand" => [
                "name" => "Demand for Purchased Products",
                "see"  => "Query",
                "edit" => "Edit",
            ],
        ],
        'Purchase Contract'   => [
            "purchaseContract" => [
                "name"    => "Purchase Contract",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                'fileAdd' => 'Attachment Edit',
                'fileDel' => 'Attachment Delete',
            ],
            "supplyList"       => [
                "name"   => "Supply List",
                "see"    => "Query",
                "export" => "Excel Export",
            ],
        ],
        'Purchase Request'    => [
            "purchaseApply" => [
                "name"    => "Purchase Application",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
                'close'   => 'Close'
            ],
        ],
        'Purchase Order'      => [
            "purchaseOrder" => [
                "name"    => "Purchase Order",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
                'print'   => 'Print',
                'close'   => 'Close',
                "import"  => "Excel Import",
            ],
        ],
        'Purchase Arrival'    => [
            "purchaseGetOrder" => [
                "name"    => "Purchase Receipt",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
                'print'   => 'Print',
            ],
        ],
        'Purchase Return'     => [
            "purchaseRefundOrder" => [
                "name"    => "Purchase Return",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
                'print'   => 'Print',
            ],
        ],
        'Estimate Adjustment' => [
            "purchaseEstimationOrder" => [
                "name"    => "Estimate Adjustment Order",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
                'print'   => 'Print',
            ],
        ],
    ],
    'Report'              => [
        'Execution table' => [
            "purchaseTrack" => [
                "name"   => "Purchase order tracking",
                "see"    => "Query",
                "export" => "Excel export",
            ],
            "purchasePay"   => [
                "name"   => "Purchase payment list",
                "see"    => "Query",
                "export" => "Excel export",
            ],
        ],
        'Details table'   => [
            "purchaseOrderMx" => [
                "name"   => "Purchase details table",
                "see"    => "Query",
                "export" => "Excel export",
            ],
        ],
        'Statistics'      => [
            'purchaseReportForm'         => [
                "name" => "Purchase report",
                "see"  => "Query",
            ],
            "purchaseStatistics"         => [
                "name"   => "Purchase goods summary",
                "see"    => "Query",
                "export" => "Excel export",
            ],
            "supplierPurchaseStatistics" => [
                "name"   => "Purchase Supplier Summary",
                "see"    => "Query",
                "export" => "Excel Export",
                "cla"    => "purchaseStatistics",
                "fun"    => "supplier",
            ],
        ],
    ],
];

$powerAllEN["Inventory Management"] = [
    'Basic file'                => [
        'Warehouse file' => [
            "warehouse"         => [
                "name"   => "Warehouse file",
                "see"    => "Query",
                "seeAll" => "Query all",
                "edit"   => "Edit",
                "del"    => "Delete",
                "import" => "Excel import",
            ],
            "warehousePosition" => [
                "name"   => "Position setting",
                "see"    => "Query",
                "export" => "Excel export",
            ],
        ],
    ],
    'Warehouse entry'           => [
        'Warehouse entry order' => [
            "inStock"     => [
                "name"   => "Waiting for entry",
                "see"    => "Query",
                "export" => "Excel export",
            ],
            "inStockExec" => [
                "name"   => "Warehouse entry",
                "see"    => "Query",
                "edit"   => "Warehouse entry",
                "del"    => "Delete",
                "print"  => 'Print',
                "check"  => 'Review',
                "cancel" => 'Cancel',
                "import" => "Excel import",
                "export" => "Excel export",
            ],
        ],
    ],
    'Outbound'                  => [
        'Outbound order' => [
            "outStock"     => [
                "name"   => "To be outbound",
                "see"    => "Query",
                "export" => "Excel export",
            ],
            "outStockExec" => [
                "name"   => "Outbound",
                "see"    => "Query",
                "edit"   => "Outbound",
                "del"    => "Delete",
                "print"  => 'Print',
                "check"  => 'Review',
                "cancel" => 'Cancel',
                "import" => "Excel import",
                "export" => "Excel export",
            ],
        ],
    ],
    'Assembly and disassembly'  => [
        'Business document' => [
            "assembly"  => [
                "name"    => "Assembly order",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => 'Confirm',
                "cancel"  => 'Cancel',
            ],
            "dismantle" => [
                "name"    => "Disassembly order",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => 'Confirm',
                "cancel"  => 'Cancel',
            ],
        ],
    ],
    'Transfer'                  => [
        'Business Document' => [
            "inventoryAllot" => [
                "name"    => "Transfer Order",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "print"   => 'Print',
                "confirm" => 'Confirm',
                "cancel"  => 'Cancel',
            ],
        ],
    ],
    'Stock Location Management' => [
        'Business Document' => [
            "moveStock"       => [
                "name" => "Move Stock",
                "see"  => "Query",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
            "moveStockRecord" => [
                "name" => "Move Stock Record",
                "see"  => "Query",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
        ],
    ],
    'Inventory'                 => [
        'Business Document' => [
            "inventory" => [
                "name"    => "Inventory List",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => 'Confirm',
                "cancel"  => 'Cancel',
                "import"  => "Excel Import",
                "export"  => "Excel Export",
            ],
        ],
    ],
    'Cost Management'           => [
        'Business Documents' => [
            "costAdjustment" => [
                "name"    => "Cost Adjustment Sheet",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => 'Confirm',
                "cancel"  => 'Cancel',
            ],
        ],
    ],
    'Tool Management'           => [
        'Business Process' => [
            "toolCollection"       => [
                "name"   => "Tool Collection",
                "see"    => "Query",
                "edit"   => "Out of Stock",
                "del"    => "Delete",
                "export" => "excel Export",
            ],
            "toolOverhaulOut"      => [
                "name"  => "Tool Overhaul Out",
                "see"   => "Query",
                "edit"  => "Edit",
                "del"   => "Delete",
                "print" => "Print",
            ],
            "toolOverhaulIn"       => [
                "name"  => "Tool Overhaul In",
                "see"   => "Query",
                "edit"  => "Edit",
                "del"   => "Delete",
                "print" => "Print",
            ],
            "toolOverhaulRecord"   => [
                "name"   => "Tool Overhaul Record",
                "see"    => "Query",
                "export" => "excel export",
                "cla"    => "toolOverhaulOut",
                "fun"    => "toolOverhaulRecord",
            ],
            "toolCollectionRecord" => [
                "name"   => "Tool Use and Return Details",
                "see"    => "Query",
                "export" => "excel export",
                "cla"    => "toolCollection",
                "fun"    => "toolCollectionRecord",
            ],
        ],
    ],
    'Warehouse Report'          => [
        'Inventory Balance'  => [
            "inventoryDistribution"    => [
                "name"   => "Inventory Distribution",
                "see"    => "Query",
                "export" => "Excel Export",
                "map"    => "Inventory Distribution Map",
            ],
            "inventoryDistributionMap" => [
                "name" => "Inventory Distribution Map",
                "see"  => "Query",
            ],
            "inventoryBalance"         => [
                "name"   => "Inventory Balance Table",
                "see"    => "Query",
                "price"  => "Unit Price View",
                "export" => "Excel Export",
            ],
        ],
        'Inventory Dynamics' => [
            'inventoryReportForm'    => [
                "name" => "Inventory Report",
                "see"  => "Query",
            ],
            "batchDetail"            => [
                "name"   => "Batch Details Table",
                "see"    => "Query",
                "export" => "Excel Export",
            ],
            "receiptDelivery"        => [
                "name"   => "Detailed list of receipts and invoices",
                "see"    => "Query",
                "export" => "Excel export",
            ],
            "receiptDeliverySummary" => [
                "name"   => "Summary list of receipts and invoices",
                "see"    => "Query",
                "export" => "Excel export",
            ],
        ],
    ],
];

$powerAllEN["Logistics Management"] = [
    'Basic File'         => [
        'Driver'  => [
            "logisticsDriver" => [
                "name"   => "Driver File",
                "see"    => "Query",
                "edit"   => "Edit",
                "del"    => "Delete",
                "import" => "Excel Import",
                "export" => "Excel Export",
            ],
        ],
        'Vehicle' => [
            "logisticsCar"         => [
                "name"   => "Internal Vehicle",
                "see"    => "Query",
                "edit"   => "Edit",
                "del"    => "Delete",
                "import" => "Excel Import",
                "export" => "Excel Export",
            ],
            "logisticsTransferCar" => [
                "name" => "External Transfer Vehicle",
                "see"  => "Query",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
        ],
    ],
    'Logistics Business' => [
        'Logistics Order' => [
            "deliveryManage"         => [
                "name" => "Delivery waiting to be dispatched",
                "see"  => "Query",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
            "deliveryManageAlready"  => [
                "name" => "Delivery already dispatched",
                "see"  => "Query",
                "edit" => "Edit",
                "cla"  => "deliveryManage",
                "fun"  => "already",
            ],
            "deliveryManageDelivery" => [
                "name" => "Shipped",
                "see"  => "Query",
                "edit" => "Edit",
                "cla"  => "deliveryManage",
                "fun"  => "delivery",
            ],
            "deliveryManageSign"     => [
                "name" => "Signed",
                "see"  => "Query",
                "edit" => "Edit",
                "cla"  => "deliveryManage",
                "fun"  => "sign",
            ],
        ],
        'Freight'         => [
            "freightDetails"         => [
                "name"   => "Internal Vehicle Freight Details",
                "see"    => "Query",
                "edit"   => "Edit",
                "export" => "Excel Export",
            ],
            "freightDetailsExternal" => [
                "name"   => "External Vehicle Freight Details",
                "see"    => "Query",
                "edit"   => "Edit",
                "export" => "Excel Export",
                "cla"    => "freightDetails",
                "fun"    => "external",
            ],
        ],
    ],
];

$powerAllEN["Outsourcing Management"] = [
    'Process outsourcing business'   => [
        'Outsourcing plan'      => [
            "outsourceDemand" => [
                "name" => "Outsourcing demand plan",
                "see"  => "Query",
                "edit" => "Edit",
            ],
        ],
        'Outsourcing contract'  => [
            "outsourceContract" => [
                "name"    => "Outsourcing contract",
                "see"     => "Query",
                "seeAll"  => "Query all",
                "edit"    => "Edit",
                "del"     => "Delete",
                'fileAdd' => 'Attachment add',
                'fileDel' => 'Attachment delete',
            ],
            "outsourceList"     => [
                "name"   => "Outsourcing supply list",
                "see"    => "Query",
                "export" => "Excel export",
            ],
        ],
        'Outsourcing order'     => [
            "outsourceProcess" => [
                "name"    => "Outsourcing processing order",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
                "print"   => 'Print',
            ],
        ],
        'Outsourced Receipt'    => [
            "outsourceGet" => [
                "name"    => "Outsourced Receipt",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
                "print"   => 'Print',
            ],
        ],
        'Outsourced Return'     => [
            "outsourceRefund" => [
                "name"    => "Outsourced Return",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
                "print"   => 'Print',
            ],
        ],
        'Outsourced Settlement' => [
            "outsourceSettle" => [
                "name"    => "Outsourced Settlement Sheet",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
            ],
        ],
        'Outsourced Report'     => [
            "outsourceProcessTrack" => [
                "name"   => "Outsourced Processing Order Tracking",
                "see"    => "Query",
                "export" => "Excel Export",
            ],
        ],
    ],
    'Outsourced Material Management' => [
        'Outsourced Material Delivery' => [
            "outsourcePick" => [
                "name"    => "Outsourced Material Delivery Sheet",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
                "print"   => 'Print',
            ],
        ],
        'Outsourced Material Return'   => [
            "outsourcePickRefund" => [
                "name"    => "Outsourced Material Return Order",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
                "print"   => 'Print',
            ],
        ],
        'Report'                       => [
            "outsourcePickMx"         => [
                "name"   => "Outsourced Material Return Details",
                "see"    => "Query",
                "export" => "Excel Export",
            ],
            "outsourceDiff"           => [
                "name"   => "Outsourced Material Difference Details",
                "see"    => "Query",
                "export" => "Excel Export",
            ],
            "outsourceDiffStatistics" => [
                "name"   => "Outsourced Material Difference Summary",
                "see"    => "Query",
                "export" => "Excel Export",
                "cla"    => "outsourceDiff",
                "fun"    => "statistics",
            ],
        ],
    ],
    'Outsourced settlement'          => [
        'Outsourced cost' => [
            "outsourceCost" => [
                "name"   => "Outsourced cost accounting",
                "see"    => "Query",
                "export" => "Excel export",
            ],
        ],
    ],
];

$powerAllEN["self-made"] = [
    'Production Plan'       => [
        'Production Plan' => [
            "productDemand" => [
                "name" => "Product Demand Plan",
                "see"  => "Query",
                "edit" => "Edit",
            ],
        ],
    ],
    'Production Control'    => [
        'Production Work Order' => [
            "machiningOrder"        => [
                "name"    => "Production Plan",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
                'print'   => 'Print',
                "import"  => "Excel Import",
            ],
            "semiProductDemand"     => [
                "name" => "Semi-finished Product Demand Plan",
                "see"  => "Query",
                "edit" => "Edit",
            ],
            "semiMachiningOrder"    => [
                "name"    => "Semi-finished Product Processing Order",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
                'print'   => 'Print',
            ],
            "materialDemand"        => [
                "name"   => "Material Demand Plan Details",
                "see"    => "Query",
                "edit"   => "Edit",
                "export" => "Excel Export",
            ],
            "materialDemandDate"    => [
                "name"   => "Material Demand Summary by Date",
                "see"    => "Query",
                "export" => "Excel Export",
                "cla"    => "materialDemand",
                "fun"    => "summary",
            ],
            "materialDemandSummary" => [
                "name"   => "Material Demand Summary by Material",
                "see"    => "Query",
                "export" => "Excel Export",
                "cla"    => "materialDemand",
                "fun"    => "materialSummary",
            ],
        ],
        'Process Flow Card'     => [
            "machiningCard" => [
                "name"   => "Production Flow Card",
                "see"    => "Query",
                "export" => "Excel Export",
                'print'  => 'Print',
            ],
        ],
        'Process Plan'          => [
            "machiningSendOrder"           => [
                "name"    => "Production Work Order",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
                'print'   => 'Print',
            ],
            "machiningSendOrderWaitReport" => [
                "name"    => "Production Work Order Waiting for Report",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
                'print'   => 'Print',
                "cla"     => "machiningSendOrder",
                "fun"     => "waitReport",
            ],
            "machiningSendOrderPartReport" => [
                "name"    => "Production work order part report",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
                'print'   => 'Print',
                "cla"     => "machiningSendOrder",
                "fun"     => "partReport",
            ],
            "machiningSendOrderReported"   => [
                "name"    => "Production work order has been reported",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
                'print'   => 'Print',
                "cla"     => "machiningSendOrder",
                "fun"     => "reported",
            ],
        ],
        'Process report'        => [
            "processReport" => [
                "name"    => "Process Report",
                "see"     => "Search Yourself",
                "seeAll"  => "Search All",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
            ],
        ],
        'Production Rework'     => [
            "machiningReworkOrder" => [
                "name"    => "Production Rework Order",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
                "print"   => "Print",
            ],
        ],
        'Production Completion' => [
            "machiningInOrder" => [
                "name"    => "Production In-Order",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
            ],
        ],
    ],
    'Material Control'      => [
        'Return Material' => [
            "pickOrder"           => [
                "name"    => "Return Material",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
                "print"   => "Print",
                'import'  => 'Excel Import',
            ],
            "refundMaterialOrder" => [
                "name"    => "Return Material",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
                'import'  => 'Excel Import',
            ],
        ],
        'Ingredients'     => [
            "ingredientsOrder"         => [
                "name" => "Unordered",
                "see"  => "Query",
                "edit" => "Edit",
            ],
            "ingredientsOrderDone"     => [
                "name"    => "Ingredients",
                "see"     => "Query",
                "edit"    => "Edit",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
                "cla"     => "ingredientsOrder",
                "fun"     => "done",
            ],
            "ingredientsOrderList"     => [
                "name"    => "Ingredients List",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
                "cla"     => "ingredientsOrder",
                "fun"     => "order",
            ],
            "tempInventory"            => [
                "name"   => "Line Inventory",
                "see"    => "Query",
                'export' => "Excel Export",
            ],
            "tempInventoryRefund"      => [
                "name"    => "Line Inventory Refund",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm",
            ],
            "materialDistribute"       => [
                "name" => "Material Backflush",
                "see"  => "Query",
                "edit" => "Edit",
            ],
            "materialDistributeRecord" => [
                "name"    => "Material Distribution Record",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
            ],
        ],
        'Scrap'           => [
            "scrappedOrder" => [
                "name" => "Scrap Application Form",
                "see"  => "Query",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
        ],
    ],
    'Production Wage'       => [
        'Hourly Wage'    => [
            "pieceHour"     => [
                "name"   => "Hourly Wage",
                "see"    => "Query",
                "export" => "Excel Export",
            ],
            "workshopClock" => [
                "name"    => "Workshop Attendance Sheet",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
                'import'  => 'Excel Import',
                'export'  => "Excel Export",
            ],
            'timingReport'  => [
                "name"   => "Time Daily",
                "see"    => "Query",
                "edit"   => "Edit",
                "del"    => "Delete",
                'import' => 'Excel Import',
                'export' => "Excel Export",
            ],
        ],
        'Piecework Wage' => [
            "pieceCount" => [
                "name"   => "Piecework Wage",
                "see"    => "Query",
                "export" => "Excel Export",
            ],
        ],
        'Wage Report'    => [
            "pieceStatistics" => [
                "name"   => "Timepiece Summary",
                "see"    => "query",
                "edit"   => "edit",
                "del"    => "delete",
                "export" => "excel export",
                "print"  => "print",
                "pay"    => "pay",
            ],
        ],
    ],
    'Production Cost'       => [
        'Production Cost Accounting' => [
            "costCount"           => [
                "name"   => "Cost Accounting",
                "see"    => "Query",
                "export" => "Excel Export",
            ],
            "costCountStatistics" => [
                "name"   => "Auxiliary Cost Accounting",
                "see"    => "Query",
                "import" => "Excel Import",
                "export" => "Excel Export",
            ],
            "costAllocation"      => [
                "name"    => "Cost Allocation Sheet",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
            ],
        ],
    ],
    'Production Statistics' => [
        'Production Report' => [
            "productTrack"            => [
                "name"   => "Production Order Tracking",
                "see"    => "Query",
                "export" => "Excel Export",
            ],
            "completionRate"          => [
                "name"   => "Completion Rate Statistics",
                "see"    => "Query",
                "export" => "Excel Export",
            ],
            "pickAndRefundMx"         => [
                "name"   => "Production Material Return Details",
                "see"    => "Query",
                "export" => "Excel Export",
            ],
            "productDiff"             => [
                "name"   => "Production Material Difference",
                "see"    => "Query",
                "export" => "Excel Export",
            ],
            "processReportStatistics" => [
                "name"   => "Process Report Statistics",
                "see"    => "Query",
                "export" => "Excel Export",
            ],
            "processInventory"        => [
                "name"   => "Process Inventory Table",
                "see"    => "Query",
                "export" => "Excel Export",
            ],
        ],
        'Visual Kanban'     => [
            "productionKanban" => [
                "name" => "Production Kanban",
                "see"  => "Query",
            ],
        ],
    ],
    'Basic File'            => [
        'Basic File' => [
            "productLine" => [
                "name"   => "Production Line File",
                "see"    => "Query",
                "edit"   => "Edit",
                "del"    => "Delete",
                "import" => "Excel Import",
            ],
            "team"        => [
                "name" => "Team File",
                "see"  => "Query",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
        ],
    ],
];

$powerAllEN["Quality Management"] = [
    'Quality Inspection Business' => [
        'Inspection'                 => [
            "materialInspection"   => [
                "name"    => "Incoming Material Inspection",
                "see"     => "Query",
                "edit"    => "Edit",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
            ],
            "outsourceInspection"  => [
                "name"    => "Outsourcing Warehouse Inspection",
                "see"     => "Query",
                "edit"    => "Edit",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
            ],
            "processingInspection" => [
                "name"    => "Process Inspection",
                "see"     => "Query",
                "edit"    => "Edit",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
            ],
            "processSpotCheck"     => [
                "name"    => "Process Inspection",
                "see"     => "Query",
                "edit"    => "Edit",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
            ],
            "processInspection"    => [
                "name"    => "Final Inspection",
                "see"     => "Query",
                "edit"    => "Edit",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
            ],
            "shippingInspection"   => [
                "name"    => "Shipping Inspection",
                "see"     => "Query",
                "edit"    => "Edit",
                "confirm" => "Confirm",
                "cancel"  => "Withdraw",
            ],
        ],
        'Defective Product Handling' => [
            "productBadDeal" => [
                "name" => "Defective Dealing",
                "see"  => "Query",
                "edit" => "Edit",
            ],
        ],
    ],
    'Quality Statistics'         => [
        'Quality Report' => [
            "materialInspectionStatistics"   => [
                "name"   => "Incoming Material Inspection Statistics",
                "see"    => "Query",
                "export" => "Excel Export",
            ],
            "outsourceInspectionStatistics"  => [
                "name"   => "Outsourced Warehouse Inspection Statistics",
                "see"    => "Query",
                "export" => "Excel Export",
            ],
            "processingInspectionStatistics" => [
                "name"   => "Process Inspection Statistics",
                "see"    => "Query",
                "export" => "Excel Export",
            ],
            "processSpotCheckStatistics"     => [
                "name"   => "Process Inspection Statistics",
                "see"    => "Query",
                "export" => "Excel Export",
            ],
            "processInspectionStatistics"    => [
                "name"   => "Final Inspection Statistics",
                "see"    => "Query",
                "export" => "Excel Export",
            ],
            "shippingInspectionStatistics"   => [
                "name"   => "Shipping Inspection Statistics",
                "see"    => "Query",
                "export" => "Excel Export",
            ],
            "badAnalysis"                    => [
                "name"   => "Analysis of defective causes",
                "see"    => "Query",
                "export" => "Excel export",
            ],
        ],
        'Visual Kanban'  => [
            "qualityKanban" => [
                "name" => "Quality Kanban",
                "see"  => "Query",
            ],
        ],
    ],
    'Quality Inspection Plan'    => [
        'Product Quality Inspection Plan' => [
            "quarantine" => [
                "name" => "Product Quality Inspection Plan",
                "see"  => "Query",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
        ],
    ],
];

$powerAllEN["Equipment Management"] = [
    'Equipment' => [
        'Equipment'     => [
            "equipment"            => [
                "name"        => "Equipment",
                "see"         => "Query",
                "edit"        => "Edit",
                "del"         => "Delete",
                "print"       => "Print",
                "state"       => "Status",
                'inspection'  => 'Inspection Plan',
                'maintenance' => 'Maintenance Plan',
                'failure'     => 'Failure Type',
                'fileAdd'     => 'Attachment Add',
                'fileDel'     => 'Attachment Delete',
                "import"      => "Excel Import",
            ],
            "equipmentInspection"  => [
                "name" => "Inspection",
                "see"  => "Query",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
            "equipmentMaintenance" => [
                "name" => "Maintenance",
                "see"  => "Query",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
            "equipmentRepair"      => [
                "name"           => "Maintenance registration",
                "see"            => "Query",
                "edit"           => "Edit",
                "del"            => "Delete",
                "registry"       => 'Registration',
                "registryCancel" => "Cancel registration",
            ],
            "equipmentRepairPart"  => [
                "name"         => "Maintenance dispatch",
                "see"          => "Query",
                "assign"       => "Dispatch",
                "assignCancel" => "Cancel dispatch",
                "done"         => "Complete",
                "cla"          => "equipmentRepair",
                "fun"          => "part",
            ],
            "equipmentRepairAll"   => [
                "name" => "Maintenance record",
                "see"  => "Query",
                "cla"  => "equipmentRepair",
                "fun"  => "all",
            ],
            "moldDisarmament"      => [
                "name"   => "Equipment reduction",
                "see"    => "Query",
                "edit"   => "Edit",
                "del"    => "Delete",
                "export" => "Excel Export",
            ],
        ],
        'Accessories'   => [
            "parts"           => [
                "name"   => "Accessories",
                "see"    => "Query",
                "edit"   => "Edit",
                "del"    => "Delete",
                "state"  => "Enable and Disable",
                "import" => "Excel Import",
                "export" => "Excel Export",
            ],
            "partsInStock"    => [
                "name"    => "Accessories In Stock",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => 'Confirm',
                "cancel"  => 'Cancel',
                "print"   => "Print",
            ],
            "partsCollection" => [
                "name"    => "Accessories Collection",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => 'Confirm',
                "cancel"  => 'Cancel',
                "print"   => "Print",
            ],
            "partsReturn"     => [
                "name"    => "Parts Return",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => 'Confirm',
                "cancel"  => 'Cancel',
                "print"   => "Print",
            ],
            "partsInventory"  => [
                "name"    => "Parts Inventory",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => 'Confirm',
                "cancel"  => 'Cancel',
                "export"  => "Excel Export",
            ],
        ],
        'Visual Kanban' => [
            "equipmentKanban" => [
                "name" => "Equipment Kanban",
                "see"  => "Query",
            ],
        ],
    ],
];

$powerAllEN["Process Equipment"] = [
    'Mold' => [
        'Mold Basic File' => [
            "mold"          => [
                "name"   => "Mold",
                "see"    => "Query",
                "edit"   => "Edit",
                "del"    => "Delete",
                "state"  => "Enable and Disable",
                "import" => "Excel Import",
                "export" => "Excel Export",
            ],
            "moldPortfolio" => [
                "name" => "Mold Product Portfolio",
                "see"  => "Query",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
        ],
        'Mold Business'   => [
            "moldInStock"     => [
                "name"    => "Mold InStock",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => 'Confirm',
                "cancel"  => 'Cancel',
                "print"   => "Print",
            ],
            "moldReturn"      => [
                "name"   => "Mold Use and Return",
                "see"    => "Query",
                "edit"   => "Edit",
                "del"    => "Delete",
                "return" => "Return",
            ],
            "moldMaintenance" => [
                "name" => "Mold Maintenance and Repair",
                "see"  => "Query",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
            "moldChange"      => [
                "name"    => "Mold Conversion",
                "see"     => "Query",
                "edit"    => "Edit",
                "del"     => "Delete",
                "confirm" => "Confirm",
            ],
            "moldReduction"   => [
                "name"   => "Mold Reduction",
                "see"    => "Query",
                "edit"   => "Edit",
                "del"    => "Delete",
                "export" => "Excel Export",
            ],
        ],
    ],
];

$powerAllEN["R&D Management"] = [
    'Material Management' => [
        'Material File' => [
            'orderTag'       => [
                "name" => "Material Tag",
                "see"  => "Query",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
            "material"       => [
                "name"      => "Material File",
                "see"       => "Query",
                "edit"      => "Edit",
                'editPrice' => 'Edit Price',
                "del"       => "Delete",
                "import"    => "Excel Import",
                "export"    => "Excel Export",
                'fileAdd'   => 'Attachment Add',
                'fileDel'   => 'Attachment Delete',
            ],
            "materialDetail" => [
                "name"   => "Material Details",
                "see"    => "Query",
                "print"  => "Print",
                "export" => "Excel Export",
            ],
        ],
        'BOM'           => [
            "bom" => [
                "name"   => "BOM",
                "see"    => "Query",
                "edit"   => "Edit",
                "del"    => "Delete",
                "import" => "Excel Import",
                "export" => "Excel Export",
            ],
        ],
    ],
    'Process'             => [
        'Process File' => [
            "process" => [
                "name"   => "Process File",
                "see"    => "Query",
                "edit"   => "Edit",
                "del"    => "Delete",
                "import" => "Excel Import",
            ],
            "routing" => [
                "name"   => "Process Routing",
                "see"    => "Query",
                "edit"   => "Edit",
                "del"    => "Delete",
                "import" => "Excel Import",
            ],
        ],
    ],
];

$powerAllEN["Financial Management"] = [
    'Financial Accounting' => [
        'Voucher'                            => [
            'voucherEdit'     => [
                "name"  => "Add Voucher",
                "see"   => "Query",
                "edit"  => "Edit",
                "print" => "Print",
            ],
            'businessVoucher' => [
                "name" => "Business Voucher",
                "see"  => "Query",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
            'voucher'         => [
                "name"   => "View Voucher",
                "see"    => "Query",
                "edit"   => "Edit",
                "del"    => "Delete",
                "audit"  => "Audit",
                "sign"   => "Sign",
                "record" => "Bookkeeping",
                "cancel" => "Cancel",
                "print"  => "Print",
                "import" => "Excel Import",
                "export" => "Excel Export",
            ],

            'voucherStatistics' => [
                "name"   => "Voucher Summary",
                "see"    => "Query",
                "export" => "Excel export",
            ],
            'accountElecFile'   => [
                "name" => "Accounting electronic files",
                "see"  => "Query",
                "edit" => "Edit",
                "del"  => "Delete",
            ],
        ],
        'Account book'                       => [
            "accountDetails"      => [
                "name"   => "Detailed ledger",
                "see"    => "Query",
                "export" => "Excel export",
            ],
            "accountTotal"        => [
                "name"   => "General ledger",
                "see"    => "Query",
                "export" => "Excel export",
            ],
            "subjectBalance"      => [
                "name"   => "Subject balance sheet",
                "see"    => "Query",
                "export" => "Excel export",
            ],
            "subjectAssetDetails" => [
                "name"   => "Subject auxiliary detailed ledger",
                "see"    => "Query",
                "export" => "Excel export",
            ],
            "subjectAssetBalance" => [
                "name"   => "Subject Auxiliary Balance Sheet",
                "see"    => "Query",
                "export" => "Excel Export",
            ],
            "multiColumnAccount"  => [
                "name"   => "Multi-column Account",
                "see"    => "Query",
                "export" => "Excel Export",
            ],
            "sequentialAccount"   => [
                "name"   => "Sequential Account",
                "see"    => "Query",
                "export" => "Excel Export",
            ],
        ],
        'Accounting Project Detailed Ledger' => [
            "projectDetails"           => [
                "name"   => "Customer Detailed Ledger",
                "see"    => "Query",
                "export" => "Excel Export",
            ],
            "projectDetailsSupplier"   => [
                "name"   => "Supplier Detailed Ledger",
                "see"    => "Query",
                "export" => "Excel Export",
                "cla"    => "projectDetails",
                "fun"    => "supplier",
            ],
            "projectDetailsStaff"      => [
                "name"   => "Staff Details",
                "see"    => "Query",
                "export" => "Excel Export",
                "cla"    => "projectDetails",
                "fun"    => "staff",
            ],
            "projectDetailsDepartment" => [
                "name"   => "Department Details",
                "see"    => "Query",
                "export" => "Excel Export",
                "cla"    => "projectDetails",
                "fun"    => "department",
            ],
            "projectDetailsProject"    => [
                "name"   => "Project Details",
                "see"    => "Query",
                "export" => "Excel Export",
                "cla"    => "projectDetails",
                "fun"    => "project",
            ],
            "projectDetailsMaterial"   => [
                "name"   => "Inventory Details",
                "see"    => "Query",
                "export" => "Excel Export",
                "cla"    => "projectDetails",
                "fun"    => "material",
            ],
            "projectDetailsCash"       => [
                "name"   => "Cash Flow Details",
                "see"    => "Query",
                "export" => "Excel Export",
                "cla"    => "projectDetails",
                "fun"    => "cash",
            ],
        ],
        'Accounting project balance sheet'   => [
            "projectBalance"           => [
                "name"   => "Customer balance sheet",
                "see"    => "Query",
                "export" => "Excel export",
            ],
            "projectBalanceSupplier"   => [
                "name"   => "Supplier balance sheet",
                "see"    => "Query",
                "export" => "Excel export",
                "cla"    => "projectBalance",
                "fun"    => "supplier",
            ],
            "projectBalanceStaff"      => [
                "name"   => "Staff balance sheet",
                "see"    => "Query",
                "export" => "Excel export",
                "cla"    => "projectBalance",
                "fun"    => "staff",
            ],
            "projectBalanceDepartment" => [
                "name"   => "Department balance sheet",
                "see"    => "Query",
                "export" => "Excel export",
                "cla"    => "projectBalance",
                "fun"    => "department",
            ],
            "projectBalanceProject"    => [
                "name"   => "Project Balance Sheet",
                "see"    => "Query",
                "export" => "Excel Export",
                "cla"    => "projectBalance",
                "fun"    => "project",
            ],
            "projectBalanceMaterial"   => [
                "name"   => "Inventory Balance Sheet",
                "see"    => "Query",
                "export" => "Excel Export",
                "cla"    => "projectBalance",
                "fun"    => "material",
            ],
            "projectBalanceCash"       => [
                "name"   => "Cash Flow Balance Sheet",
                "see"    => "Query",
                "export" => "Excel Export",
                "cla"    => "projectBalance",
                "fun"    => "cash",
            ],
        ],
        'Report'                             => [
            'assetDebt'       => [
                'name'   => 'Balance Sheet',
                'see'    => 'Query',
                "export" => "Excel Export",
                "print"  => "Print",
            ],
            'profitIncome'    => [
                'name'   => 'Profit Statement',
                'see'    => 'Query',
                "export" => "Excel Export",
                "print"  => "Print",
            ],
            'profitQuarterly' => [
                'name'   => 'Profit Statement Quarterly',
                'see'    => 'Query',
                "export" => "Excel Export",
                "print"  => "Print",
            ],
            'cashFlow'        => [
                'name'   => 'Cash Flow Statement',
                'see'    => 'Query',
                "export" => "Excel Export",
                "print"  => "Print",
            ],
            'cashQuarterly'   => [
                'name'   => 'Cash Flow Statement Quarterly',
                'see'    => 'Query',
                "export" => "Excel Export",
                "print"  => "Print",
            ],
        ],
        "Checkout"                           => [
            "terminalTransfer" => [
                "name" => "End-of-period transfer",
                "see" => "Query",
                "edit" => "Edit",
                "del" => "Delete",
            ],
            /*"carryover"          => [
                "name" => "Period-end carryover system template",
                "see"  => "Query",
                "edit" => "Edit",
            ],
            "carryoverCustomize" => [
                "name" => "Period-end carryover custom template",
                "see"  => "Query",
                "edit" => "Edit",
                "del"  => "Delete",
                "cla"  => "carryover",
                "fun"  => "customize",
            ],
            "checkout"           => [
                "name" => "Checkout",
                "see"  => "Query",
                "edit" => "Edit",
            ],
            "antiCheckout"       => [
                "name" => "Anti-Checkout",
                "see"  => "Query",
                "edit" => "Edit",
                "cla"  => "checkout",
                "fun"  => "antiCheckout",
            ],*/
            "checkoutFiling"     => [
                "name"    => "Archive",
                "see"     => "Query",
                'archive' => 'Archive',
                "del"     => "Delete",
            ],
        ],
        "Funds"                              => [
            "cashBook"            => [
                "name"   => "Cash Journal",
                "see"    => "Query",
                "edit"   => "Edit",
                'audit'  => 'Audit',
                "del"    => "Delete",
                "print"  => "Print",
                "import" => "Excel Import",
                "export" => "Excel Export",
            ],
            "bankBook"            => [
                "name"   => "Bank Journal",
                "see"    => "Query",
                "edit"   => "Edit",
                'audit'  => 'Audit',
                "del"    => "Delete",
                "print"  => "Print",
                "import" => "Excel Import",
                "export" => "Excel Export",
            ],
            "innerTransfer"       => [
                "name"   => "Internal Transfer",
                "see"    => "Query",
                "edit"   => "Edit",
                "del"    => "Delete",
                "print"  => "Print",
                "import" => "Excel Import",
                "export" => "Excel Export",
            ],
            "financialReport"     => [
                "name"   => "Account Funds Report",
                "see"    => "Query",
                "export" => "Excel Export",
            ],
            "financialReportBank" => [
                "name"   => "Income and Expenditure Type Funds Report",
                "see"    => "Query",
                "export" => "Excel Export",
                "cla"    => "financialReport",
                "fun"    => "bank",
            ],
            "generalAccount"      => [
                "name"   => "Check the General Ledger",
                "see"    => "Query",
                "print"  => "Print",
                "export" => "Excel Export",
            ],
        ],
        "Invoice"                            => [
            "openInvoice"    => [
                "name"   => "Invoice",
                "see"    => "Query",
                "edit"   => "Edit",
                "del"    => "Delete",
                "print"  => "Print",
                "export" => "Excel Export",
            ],
            "saleInvoice"    => [
                "name"   => "Sales Invoice",
                "see"    => "Search Yourself",
                "seeAll" => "Search All",
                "edit"   => "Edit",
                "del"    => "Delete",
                "export" => "Excel Export",
                "import" => "Excel Import",
            ],
            "receiveInvoice" => [
                "name"   => "Receive Invoice",
                "see"    => "Search",
                "edit"   => "Edit",
                "del"    => "Delete",
                "print"  => "Print",
                "export" => "Excel Export",
            ],

            "incomeInvoice" => [
                "name"   => "Income Invoice",
                "see"    => "Search Yourself",
                "seeAll" => "Search All",
                "edit"   => "Edit",
                "del"    => "Delete",
                "export" => "Excel Export",
                "import" => "Excel Import",
            ],
            // "invoiceIn" => [
            // "name" => "Income Invoice",
            // "see" => "Search yourself",
            // "seeAll" => "Search all",
            // "edit" => "Edit",
            // "del" => "Delete",
            // ],
            // "invoiceOut" => [
            // "name" => "Sales invoice",
            // "see" => "Search yourself",
            // "seeAll" => "Search all",
            // "edit" => "Edit",
            // "del" => "Delete",
            // ],
        ],
    ],
    'Salary' => [
        "Salary" => [
            "salary" => [
                "name" => "Salary table",
                "see" => "Query",
                "edit" => "Edit",
                "del" => "Delete",
                "export" => "Excel export",
            ],
            "salaryStatistics" => [
                "name" => "Salary statistics",
                "see" => "Query",
            ],

        ],
    ],
    'Fixed assets' => [
        "Asset purchase" => [
            "assetApply" => [
                "name" => "Asset purchase",
                "see" => "Query yourself",
                "seeAll" => "Query all",
                "edit" => "Edit",
                "del" => "Delete",
            ],
        ],
        "Asset card" => [
            "assetManagement" => [
                "name" => "Asset registration",
                "see" => "Query",
                "edit" => "Edit",
                "del" => "Delete",
                "import" => "Excel import",
                "export" => "Excel export",
            ],
            "assetList" => [
                "name" => "Asset card",
                "see" => "Query",
                "export" => "Excel export",
                "print" => "Print barcode",
            ],
        ],
        "Use and return" => [
            "assetUse" => [
                "name" => "Idle asset claim",
                "see" => "Query yourself",
                "seeAll" => "Query all",
                "edit" => "Edit",
                "del" => "Delete",
            ],
            "assetReturn" => [
                "name" => "Asset return",
                "see" => "Query",
                "edit" => "Edit",
                "del" => "Delete",
            ],
        ],
        "Asset disposal" => [
            "assetCut" => [
                "name" => "Asset disposal",
                "see" => "Query yourself",
                "seeAll" => "Query all",
                "edit" => "Edit",
                "del" => "Delete",
            ],
            "assetCutMx" => [
                "name" => "Asset Disposal Details",
                "see" => "Query",
                "export" => "Excel Export",
            ],
        ],
        "Asset Inventory" => [
            "assetInventory" => [
                "name" => "Asset Inventory",
                "see" => "Query",
                "edit" => "Edit",
                "del" => "Delete",
                "export" => "Excel Export",
            ],
        ],
        "Depreciation Provision" => [
            "assetDepreciation" => [
                "name" => "Depreciation Provision",
                "see" => "Query",
                "edit" => "Edit",
                "del" => "Delete",
            ],
            "assetDepreciationMx" => [
                "name" => "Asset Depreciation Details",
                "see" => "Query",
                "export" => "Excel Export",
            ],
        ],
        "Report" => [
            "assetTotal" => [
                "name" => "Asset depreciation by department summary",
                "see" => "query",
                "export" => "excel export",
            ],
            "assetTotalType" => [
                "name" => "Asset depreciation by category summary",
                "see" => "query",
                "export" => "excel export",
                "cla" => "assetTotal",
                "fun" => "waitReport",
            ],
        ],
    ],
    'Expenses' => [
        "Expense Application" => [
            "feeApply" => [
                "name" => "Expense Application Record",
                "see" => "Self-Query",
                "seeAll" => "Self-Query",
                "edit" => "Edit",
                "del" => "Delete",
            ],
        ],
        "Expense Reimbursement" => [
            "cost" => [
                "name" => "Expense Reimbursement Record",
                "see" => "Self-Query",
                "seeAll" => "Self-Query",
                "edit" => "Edit",
                "del" => "Delete",
                'pay' => 'Payment',
            ],
        ],
        "Payment" => [
            "payment" => [
                "name" => "Payment Application Record",
                "see" => "Self-Query",
                "seeAll" => "Self-Query",
                "edit" => "Edit",
                "del" => "Delete",
                'pay' => 'Payment',
            ],
        ],
        "Income" => [
            "income" => [
                "name" => "Payment Registration",
                "see" => "Query",
                "edit" => "Edit",
                "del" => "Delete",
            ],
        ],
    ],
    'Account' => [
        "Business Document" => [
            "inReceipt" => [
                "name" => "Receipt",
                "see" => "Query Yourself",
                "seeAll" => "Query All",
                "edit" => "Edit",
                "del" => "Delete",
                "confirm" => "Confirm",
                "print" => "Print",
            ],
            "payReceipt" => [
                "name" => "Payment Slip",
                "see" => "Query Yourself",
                "seeAll" => "Query All",
                "edit" => "Edit",
                "del" => "Delete",
                "confirm" => "Confirm",
                "print" => "Print",
            ],
            "writeOffOrder" => [
                "name" => "Write-off Order",
                "see" => "Query Yourself",
                "seeAll" => "Query All",
                "edit" => "Edit",
                "del" => "Delete",
                "confirm" => "Confirm",
            ],
            "otherInReceipt" => [
                "name" => "Income slip",
                "see" => "Self-query",
                "seeAll" => "Self-query",
                "edit" => "Edit",
                "del" => "Delete",
                "confirm" => "Confirm",
                "cancel" => "Cancel",
            ],
            "otherOutReceipt" => [
                "name" => "Expense slip",
                "see" => "Self-query",
                "seeAll" => "Self-query",
                "edit" => "Edit",
                "del" => "Delete",
                "confirm" => "Confirm",
                "cancel" => "Cancel",
            ],
            "transferReceipt" => [
                "name" => "Transfer slip",
                "see" => "Self-query",
                "seeAll" => "Self-query",
                "edit" => "Edit",
                "del" => "Delete",
                "confirm" => "Confirm",
            ],
        ],
        "Statistics" => [
            "currentUnitBalance" => [
                "name" => "Trading unit balance sheet",
                "see" => "Query",
                "export" => "Excel export",
            ],
            "currentUnitMx" => [
                "name" => "Customer list",
                "see" => "Query",
                "export" => "Excel export",
            ],
            "currentUnitMxSupplier" => [
                "name" => "Supplier list",
                "see" => "Query",
                "export" => "Excel export",
                "cla" => "currentUnitMx",
                "fun" => "supplier",
            ],
            "clientReconciliation" => [
                "name" => "Customer statement",
                "see" => "Query",
                "export" => "Excel export",
            ],
            "supplierReconciliation" => [
                "name" => "Supplier statement",
                "see" => "Query",
                "export" => "Excel export",
            ],
            "incomeDetails" => [
                "name" => "Accounts receivable details",
                "see" => "Query",
                "export" => "excel Export",
            ],
            "payDetails" => [
                "name" => "Accounts Payable Details",
                "see" => "Query",
                "export" => "Excel Export",
            ],
            "incomeAgeAnalysis" => [
                "name" => "Accounts Receivable Aging Analysis",
                "see" => "Query",
                "export" => "Excel Export",
                "print" => 'Print',
            ],
            "payAgeAnalysis" => [
                "name" => "Accounts Payable Aging Analysis",
                "see" => "Query",
                "export" => "Excel Export",
                "print" => 'Print',
            ],
            "otherDetails" => [
                "name" => "Other Income and Expenditure Details",
                "see" => "Query",
                "export" => "Excel Export",
            ],
            // "accountBalance" => [
            // "name" => "Bank Account Balance",
            // "see" => "Query",
            // "export" => "Excel Export",
            // ],
            // "profit" => [
            // "name" => "Balance of income and expenditure",
            // "see" => "Self-check",
            // "seeAll" => "Search all",
            // "export" => "Excel export",
            // ],
        ],
    ],
    'Settings' => [
        "Basic Settings" => [

            "subject" => [
                "name" => "Subject",
                "see" => "Query",
                "edit" => "Edit",
                "del" => "Delete",
                "import" => "Excel Import",
                "export" => "Excel Export",
            ],
            "initialization" => [
                "name" => "Beginning of Period",
                "see" => "Query",
                "edit" => "Edit",
                "del" => "Delete",
                "import" => "Excel Import",
                "export" => "Excel Export",
            ],
            'voucherWord' => [
                "name" => "Voucher Word",
                "see" => "Query",
                "edit" => "Edit",
                "del" => "Delete",
            ],
            "currency" => [
                "name" => "Currency",
                "see" => "Query",
                "edit" => "Edit",
                "del" => "Delete",
            ],
            'voucherModel' => [
                "name" => "Voucher Template",
                "see" => "Query",
                "edit" => "Edit",
                "del" => "Delete",
            ],
            'businessVoucherSetting' => [
                "name" => "Business Voucher Setting",
                "see" => "Query",
                "edit" => "Edit",
                "del" => "Delete",
            ],
            "account" => [
                "name" => "Cash Account",
                "see" => "Query",
                "edit" => "Edit",
                "del" => "Delete",
            ],
            "accountBank" => [
                "name" => "Bank Deposit Account",
                "see" => "Query",
                "edit" => "Edit",
                "del" => "Delete",
                "cla" => "account",
                "fun" => "bank",
            ],
        ],
        'Assisted Accounting' => [
            "assistAccount" => [
                "name" => "Customer Assisted Accounting",
                "see" => "Query",
                "cla" => "clientProfile",
                "fun" => "home",
            ],
            "assistAccountSupplier" => [
                "name" => "Supplier Auxiliary Accounting",
                "see" => "Query",
                "cla" => "supplier",
                "fun" => "home",
            ],
            "assistAccountStaff" => [
                "name" => "Staff Auxiliary Accounting",
                "see" => "Query",
                "cla" => "staffProfiles",
                "fun" => "home",
            ],
            "assistAccountDepartment" => [
                "name" => "Department Auxiliary Accounting",
                "see" => "Query",
                "cla" => "department",
                "fun" => "home",
            ],
            "project" => [
                "name" => "Project Auxiliary Accounting",
                "see" => "Query",
                "edit" => "Edit",
                "del" => "Delete",
            ],
            "assistAccountMaterial" => [
                "name" => "Inventory Auxiliary Accounting",
                "see" => "Query",
                "cla" => "material",
                "fun" => "home",
            ],
            "cash" => [
                "name" => "Cash flow auxiliary accounting",
                "see" => "Query",
                "edit" => "Edit",
                "del" => "Delete",
            ],
        ]
    ],
];

$powerAllEN["Personal Center"] = [
    'My' => [
        "Personal Information" => [
            "my" => [
                "name" => "Personal Profile",
                "see" => "Query",
                'templateEdit' => 'Import and Export Template Edit',
                'templateDel' => 'Import and Export Template Delete',
            ],
            "workSign" => [
                "name" => "My Attendance",
                "see" => "Query Myself",
                "seeAll" => "Query All",
            ],
        ],
        "My To-Do" => [
            "backlog" => [
                "name" => "To Be Processed",
                "see" => "Query Myself",
            ],
            "backlogProcessed" => [
                "name" => "Processed",
                "see" => "Query Myself",
                "cla" => "backlog",
                "fun" => "processed",
            ],
        ],
        "My Message" => [
            "message" => [
                "name" => "To Be Read",
                "see" => "Query yourself",
            ],
            "messageProcessed" => [
                "name" => "Read",
                "see" => "Query yourself",
                "cla" => "message",
                "fun" => "processed",
            ],
        ],
        "My approval" => [
            "initiateApproval" => [
                "name" => "Initiate approval",
                "see" => "Query",
                "edit" => "Edit",
                "del" => "Delete",
            ],
            "myInitiated" => [
                "name" => "Initiated by me",
                "see" => "Query",
                "edit" => "Edit",
                "del" => "Delete",
            ],
            "myApproved" => [
                "name" => "Approved by me",
                "see" => "Query",
                "edit" => "Edit",
                "del" => "Delete",
            ],
            "notifyMe" => [
                "name" => "Cc me",
                "see" => "Query",
                "edit" => "Edit",
                "del" => "Delete",
            ],
        ],
        "My exam" => [
            "beTested" => [
                "name" => "Waiting for exam",
                "see" => "Query",
                "edit" => "Edit",
                "del" => "Delete",
            ],
            "tested" => [
                "name" => "Tested",
                "see" => "Query",
                "edit" => "Edit",
                "del" => "Delete",
            ],
        ],
        "My work report" => [
            "workReportDay" => [
                "name" => "Daily",
                "see" => "Query",
                "edit" => "Edit",
                "del" => "Delete",
            ],
            "workReportWeek" => [
                "name" => "Weekly",
                "see" => "Query",
                "edit" => "Edit",
                "del" => "Delete",
            ],
            "workReportMonth" => [
                "name" => "Monthly",
                "see" => "Query",
                "edit" => "Edit",
                "del" => "Delete",
            ],
        ],

    ],
    'Public' => [
        "Address Book" => [
            "contactStaff" => [
                "name" => "Staff Address Book",
                "see" => "Query",
                "export" => "Excel Export",
            ],
            "contacts" => [
                "name" => "Public Address Book",
                "see" => "Query",
                "edit" => "Edit",
                "del" => "Delete",
            ],
        ],
    ]
];

$powerAllEN["Application Center"] = [
    'Authorization Control' => [
        'Account Set' => [
            "company" => [
                "name" => "Account Set",
                "see" => "Query",
                "edit" => "Edit",
                "del" => "Delete",
                "delAll" => "Clear Account Set (Except Data in Settings)",
            ],
        ],
        'Role' => [
            "role" => [
                "name" => "Role Management",
                "see" => "Query",
                "edit" => "Add, Modify and Delete",
                "power" => "Authorization Settings",
            ],
        ],
        'User' => [
            "user" => [
                "name" => "User Management",
                "see" => "Query",
                "edit" => "Edit",
                "del" => "Delete",
                "state" => "Enable and Disable",
            ],
        ]
    ],
    'Basic Settings' => [
        "Process Engine" => [
            "examine" => [
                "name" => "Process Settings",
                "see" => "Query",
                "edit" => "Edit",
                "del" => "Delete",
            ],

        ],
        "Message reminder" => [
            "reminderSetting" => [
                "name" => "Message reminder setting",
                "see" => "Query",
                "edit" => "Edit",
            ],
        ],
        "Option setting" => [
            "optionSetting" => [
                "name" => "Option setting",
                "see" => "Query",
                "edit" => "Edit",
            ],
        ],
        "Personalization setting" => [
            "printTemplate" => [
                "name" => "Print setting",
                "see" => "Query",
                "edit" => "Edit",
                "del" => "Delete",
                "state" => "Enable and disable",
            ],
            "codeTemplate" => [
                "name" => "Encoding setting",
                "see" => "Query",
                "edit" => "Edit",
                "del" => "Delete",
                "state" => "Enable and disable",
            ],
        ],
        "System Settings" => [
            "log" => [
                "name" => "System Log",
                "see" => "Query Yourself",
                "seeAll" => "Query All",
                "del" => "Delete Log",
            ],
            "dictionary" => [
                "name" => "Data Dictionary",
                "see" => "Query",
                "edit" => "Edit",
                "del" => "Delete",
            ],
            "prompt" => [
                "name" => "System Prompt",
                "see" => "Query",
                "edit" => "Edit",
            ],
            "para" => [
                "name" => "System Parameters",
                "see" => "Query",
                "edit" => "Edit",
            ],
            "img" => [
                "name" => "Image Settings",
                "see" => "Query",
                "edit" => "Edit",
                "del" => "Delete",
            ],
        ],
    ],
    'Beginning of Period Settings' => [
        'Sales Beginning' => [
            "clientDefault" => [
                "name" => "Customer Beginning Settings",
                "see" => "Query",
                "del" => "Delete",
                'import' => 'Excel Import',
                "export" => "Excel Export",
                "cla" => "inventoryDefault",
                "fun" => "client",
            ],
        ],
        'Purchasing Beginning' => [
            "supplierDefault" => [
                "name" => "Supplier Beginning Settings",
                "see" => "Query",
                "del" => "Delete",
                'import' => 'Excel Import',
                "export" => "Excel Export",
                "cla" => "inventoryDefault",
                "fun" => "supplier",
            ],
        ],
        'Inventory Beginning' => [
            "inventoryDefault" => [
                "name" => "Inventory Beginning Settings",
                "see" => "Query",
                "del" => "Delete",
                "edit" => "Edit",
                'import' => 'Excel Import',
                "export" => "Excel export",
            ],
        ],
    ],
];
